This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

Solved Dhud error


Post New Thread Closed Thread   
 
Thread Tools Display Modes
SHIELD755
Veteran Member
Join Date: Feb 2018
Location: FROM MARVEL STUDIO
Old 09-29-2018 , 07:58   Re: dhud error
#31

https://forums.alliedmods.net/showth...p?t=310969(not advertising(


see this i also have exect promblem i am also getting friendly fire so do not arugue and help him and me
__________________
SED LYF !!!
SHIELD755 is online now
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 09-29-2018 , 08:01   Re: dhud error
#32

Quote:
Originally Posted by Ghosted View Post
You are right, include file will solve the problem in 1.8.2, just download dhudmessage.inc and then it will declare show/set dhudmessage, after using them into plugin and compiling it it will run well, but there will be one problem, amxx will throw an error: invalid function set/show dhudmessage
How can it give that error when the functions are DEFINED in the .inc file??? What are you talking about?

Quote:
Originally Posted by SHIELD755 View Post
https://forums.alliedmods.net/showth...p?t=310969(not advertising(


see this i also have exect promblem i am also getting friendly fire so do not arugue and help him and me
How is that related to this thread?
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Ghosted
Veteran Member
Join Date: Apr 2015
Location: Georgia
Old 09-29-2018 , 08:06   Re: dhud error
#33

Quote:
Originally Posted by OciXCrom View Post
How can it give that error when the functions are DEFINED in the .inc file??? What are you talking about?
I have said, if you are talking about defining function (stock function is best choice) then yes it will not throw an error, but if you just add 'native show_dhudmessage(arguments...);' then it will throw an error if there will not be any native with such name. You think if you say dhudmessage.inc, we are all thinking about include file that has stock function inside it (set/show dhudmessage) and not just declaration of that.

To fix the issue reported in this thread (1st post) there is 2 ways, one way is to register native with such name (which should be the case) and another is to compile with include file that has stock function inside it.
__________________

[MOD] CS Weapon Mod V1.7.1
[MM] MetaMod-C V1.0
[MOD] CS NPC Mod (5%)


Probably Left AM

Last edited by Ghosted; 09-29-2018 at 08:06.
Ghosted is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 09-29-2018 , 08:08   Re: dhud error
#34

Who said anything about native declarations? dhudmessage.inc has STOCKS inside it, not natives.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Ghosted
Veteran Member
Join Date: Apr 2015
Location: Georgia
Old 09-29-2018 , 08:11   Re: dhud error
#35

Quote:
Originally Posted by OciXCrom View Post
Who said anything about native declarations? dhudmessage.inc has STOCKS inside it, not natives.
How this could happen .
Btw about fixing posted issue, there's still 2 ways.
__________________

[MOD] CS Weapon Mod V1.7.1
[MM] MetaMod-C V1.0
[MOD] CS NPC Mod (5%)


Probably Left AM
Ghosted is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 09-29-2018 , 08:25   Re: dhud error
#36

The issue happened because he was using 1.8.3 includes in 1.8.2 which means he had the native declarations of DHUD functions but his AMXX doesn't have such functions. And because of this check:

PHP Code:
#if AMXX_VERSION_NUM < 183
    #include <dhudmessage>
#endif 
...the plugin wasn't using the stocks.
__________________

Last edited by OciXCrom; 09-29-2018 at 08:25.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Ghosted
Veteran Member
Join Date: Apr 2015
Location: Georgia
Old 09-29-2018 , 08:29   Re: dhud error
#37

Yes yes thinking so. Btw this was 3rd time i got wrong, im getting old (almost 18yr).
__________________

[MOD] CS Weapon Mod V1.7.1
[MM] MetaMod-C V1.0
[MOD] CS NPC Mod (5%)


Probably Left AM

Last edited by Ghosted; 09-29-2018 at 08:30.
Ghosted is offline
SHIELD755
Veteran Member
Join Date: Feb 2018
Location: FROM MARVEL STUDIO
Old 09-29-2018 , 08:48   Re: dhud error
#38

how to delte thread ?
__________________
SED LYF !!!
SHIELD755 is online now
polimpo4
Member
Join Date: Jan 2017
Old 09-29-2018 , 15:56   Re: dhud error
#39

Quote:
Originally Posted by SHIELD755 View Post
how to delte thread ?
Just Edit It And On Topic Select Solved
polimpo4 is offline
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 09-29-2018 , 16:00   Re: dhud error
#40

Quote:
Originally Posted by Ghosted View Post
Yes yes thinking so. Btw this was 3rd time i got wrong, im getting old (almost 18yr).
almost 18 yrs old, meanwhile I see 50+ yo active members in here
__________________
edon1337 is offline
Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:51.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode