[Tutorial] Desynchronized players and how to deal with them
#6

Quote:
Originally Posted by sakhary
View Post
PHP Code:
IsPlayerSynced{playerid} = (current_ammo != PlayerAmmo{playerid}); 
shouldn't this be
PHP Code:
IsPlayerSynced{playerid} = (current_ammo == PlayerAmmo{playerid}); 
?
No. If the ammo is the same, the player shouldn't be considered synced.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)