Raised This Month: $ Target: $400
 0% 

[INC] Director Hud Message


Post New Thread Reply   
 
Thread Tools Display Modes
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 05-16-2020 , 18:52   Re: [INC] Director Hud Message
Reply With Quote #231

The first plugin has the dhudmessage file included in the .sma itself. Remove lines 13 and 214 to 319.

The second plugin has a slightly different problem. "dhudmessage.inc" uses an additional argument in the "set_dhudmessage" function, while the one built in AMXX doesn't have this argument, so you get an error saying that the number of arguments doesn't match the definition.

To fix this, simply remove the last argument from the functions on lines 88 and 93. Both of them have the argument "false".

PS: you're using an old 1.8.3 dev-build. The current development version is AMXX 1.9. You should consider updating - https://www.amxmodx.org/downloads-new.php
__________________

Last edited by OciXCrom; 05-16-2020 at 18:52.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
XuberAxel
Junior Member
Join Date: Dec 2017
Old 05-17-2020 , 14:21   Re: [INC] Director Hud Message
Reply With Quote #232

Quote:
Originally Posted by OciXCrom View Post
Show the code.
I DID IT. I could fix the seccond one I found the solution in a russian forum. And I see that you are telling me what to do at the same time xD

Before:
Code:
set_dhudmessage(get_pcvar_num(hud_r),get_pcvar_num(hud_g),get_pcvar_num(hud_b), -1.0, 0.05, 0, 6.0, 1.0,0.0,0.1, false)
After:
Code:
set_dhudmessage(get_pcvar_num(hud_r),get_pcvar_num(hud_g),get_pcvar_num(hud_b), -1.0, 0.05, 0, 6.0, 1.0,0.0,0.1)
I had to remove the last argument. And the first one I did what you are telling me. Thanks for your help.

Last question. Installing the AMXMOD X 1.9 is the same thing that 1.8.3 or there is something different to do?
XuberAxel is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 05-17-2020 , 14:37   Re: [INC] Director Hud Message
Reply With Quote #233

It's the same. 1.9 is just a newer 1.8.3. Bear in mind that 1.10 also exists.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Reply


Thread Tools
Display Modes

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 16:48.


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