Invalid player id
Hello,
Forgive this noob question, but I get errors such as this: Invalid player id 32 Run time error 10: native error (native "get_user_aiming") Invalid player id 121 Run time error 10: native error (native "client_print") Does that just meant the player is no longer connected, or does the playerID always need to be below the max amount of players? |
Re: Invalid player id
Quote:
Quote:
remember, playerID is always from 1 to 32. |
Re: Invalid player id
Code:
if(is_user_connected(id)) |
Re: Invalid player id
I edited the plugin and now before any client_print and hud message, or sound emit I always do
PHP Code:
PHP Code:
|
| All times are GMT -4. The time now is 11:12. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.