Quote:
Originally Posted by Bugsy
For starters, why do you have this commented out? You need it. Your plugin is probably throwing errors without this check. There's more stuff that can be fixed/improved.
You should instead use get_players() instead of looping through all slots and doing these checks.
PHP Code:
//if(!is_user_bot(id) && is_user_connected(id))
//{
|
i commented that line to disable the bot check. i'm testing the plugin with bots.
it's just a simple xp plugin, but i want to add a sync hud (always showing/updating player stats)
and i did copy this from army ranks plug, but seems that something is wrong.
I'm not good at all in scripting, but a litle help would be nice.