Random Player
What wrong with this ?
I wanted to make 1 random player to be a stalker instead it giving me more than 1 PHP Code:
|
Re: Random Player
If you want only one player to have his health and gravity changed after that delay this is the code:
PHP Code:
|
Re: Random Player
Quote:
"even I think that this is not necessary" Yeah. Haven't test the code yet. EDIT: Still instead of 1 it make all player stalker. |
Re: Random Player
1 Attachment(s)
I attached the file that I tested on my server. It worked for my well.
I think that you didn't replace the old plugin because your code make all player stalker. P.S. I changed this register_cvar( "nightstalker_toggle", "0" ) to register_cvar( "nightstalker_toggle", "1" ) :p |
Re: Random Player
Quote:
PHP Code:
|
Re: Random Player
I didn''t test your code because this functions fm_set_user_health,fm_set_user_gravity does not exists(I think that you wrote them or maybe is an older version of amxmodx) and it should work.
|
Re: Random Player
Quote:
PHP Code:
|
Re: Random Player
I didn't use set_pev so I can not say what is wrong.Still I don't understand why don't you use set_user_health when I works well.
|
Re: Random Player
Quote:
|
Re: Random Player
Quote:
|
| All times are GMT -4. The time now is 04:07. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.