(native "set_user_health") error
Everything seems to work just fine, yet my logs say otherwise.
L 01/11/2010 - 12:23:58: [AMXX] Run time error 10 (plugin "om33h.amxx") (native "set_user_health") - debug not enabled! What did I miss? PHP Code:
|
Re: (native "set_user_health") error
It's giving the 'Invalid player' warning. Everything looks fine to me. A quick fix would be checking if the player is alive before set_user_health takes place.
|
Re: (native "set_user_health") error
In client_spawn check first if the client is alive.
|
Re: (native "set_user_health") error
Thanks, going to try it in a moment.
|
Re: (native "set_user_health") error
PHP Code:
|
Re: (native "set_user_health") error
You can do directly :
Code:
|
| All times are GMT -4. The time now is 07:19. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.