action thru register_concmd to dead players
how to make actions thru register_concmd performing on dead players ?
|
Re: action thru register_concmd to dead players
Quote:
PHP Code:
|
Re: action thru register_concmd to dead players
PHP Code:
|
Re: action thru register_concmd to dead players
Quote:
Let say get_playersnum() return 5 but let say player 1 is in slot 1, player 2 is in slot 3, player 3 is in slot 5, and player 4 is in slot 9, and player 5 is in slot 10. That for loop will only go out to 4. Skippign player 3, 4, 5. Also player id start from 1 not 0. If you use use on some depending on the native it will throw an error. So use get_players() or get_maxplayers(). |
Re: action thru register_concmd to dead players
uh, actually i wanted this command on single persons wherever they dead or not
thx for help |
Re: action thru register_concmd to dead players
Quote:
@ Voi - what do you mean? Do you want the player to type something like /amidead and the plugin to check if their dead and if they are, tell them? Or do you want it to automatically tell everyone when they die that they died (not like that's completely obvious or anything :-)). Slmclarengt |
Re: action thru register_concmd to dead players
no, something like admin writes "amx_something playername" and a function is executed on that player wherever he is dead or not, for example client_print and client_cmd and perhaps emit_sound
|
Re: action thru register_concmd to dead players
Is this what you are looking for?
Code:
|
Re: action thru register_concmd to dead players
yes, thank you very much :up:
|
| All times are GMT -4. The time now is 06:42. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.