[small]Help with 1st plugin
I feel like crap for posting such a simple error.
I started learning Pawn language a few hours ago and i have tried to do my best in a first plugin: -0.1 version i sucessfully made it to print a chat message 4.0 seconds after a client when he connects to the server. -Now for the next version i want to make a HUD Message. I got an error. Here is the code: PHP Code:
Code:
Error: Symbol already defined: "show_hudmessage" on line 25 |
Re: [small]Help with 1st plugin
Code:
|
Re: [small]Help with 1st plugin
i think this is not correct
set_hudmessage(0, 255, 0, -1.0, -1.0) |
Re: [small]Help with 1st plugin
Actually, that is valid.
http://www.amxmodx.org/funcwiki.php?...sage&go=search All the arguments are default to a value, which means you don't have to pass them. Therefore, even this is valid: Code:
|
Re: [small]Help with 1st plugin
Oh, well it was just for a test. Thanks for the advice Exolent, worked perfect!
|
| All times are GMT -4. The time now is 08:54. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.