Raised This Month: $ Target: $400
 0% 

(help) HudSyncObject error


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
newb1e
Junior Member
Join Date: Feb 2016
Old 02-03-2016 , 21:23   Re: HudSyncObject not work
Reply With Quote #3

Quote:
Originally Posted by Bugsy View Post
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.
newb1e is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:29.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode