why isnt this command working?
I am adding lottery into my plug in and i made command to start lottery but its not working i want the jackpot to be what ever the admin wants so i put the following code.
Code:
Code:
Code:
i went into game and put amx_startlottery 300 but it kept saying amx_startlottery usage.. and not acutally starting lottery anyone help? |
Code:
The last parameter is the amount of arguments that the command takes, including the command itself. In your case, the 4 should be a 2. The first argument is amx_startlotto and the second argument is 300 in your example. Therefore by using read_argv(0,...) you could grab the command name if you wanted (just useless information). |
oh? i didnt know that. thanks tons again. damn your brilliant when it comes to this stuff :-P
|
| All times are GMT -4. The time now is 09:53. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.