Give Money
PHP Code:
|
Re: Give Money
You must check if the arg is a character, for instance @, wich means all players. Then loop trough all player like you did. Otherwise use cmd_target. Here you have an example of doing that: http://wiki.amxmodx.org/Intro_to_AMX_Mod_X_Scripting
|
Re: Give Money
This would be more correctly:
PHP Code:
|
Re: Give Money
Code:
|
Re: Give Money
Quote:
Code:
|
Re: Give Money
PHP Code:
|
Re: Give Money
Thanks for helping! :) +karma to all :D
And can you tell me. Whats is the difference: "ADMIN_KICK" and "ADMIN_LEVEL_C" ?? Thanks again :) |
Re: Give Money
Check out users.ini
PS: There is no need to write a message if the player isn't found. |
Re: Give Money
Done. I made that plugin. But there is one bug. When I type "amx_rich emilioneri"
I don't get money. I have to type any symbol, letter or number after the name. for example: "amx_rich emilioneri s" or "amx_rich emilioneri 3" or "amx_rich emilioneri >" and etc. Here is the code: PHP Code:
|
Re: Give Money
read_argv(1, Argument, 31)
to: read_argv(0, Argument, 31) |
| All times are GMT -4. The time now is 17:03. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.