Ember

NewPlayerID

Oct 13th, 2013
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //Returns a slot that the player can be identified in if a slot is free, returns -1 otherwise.
  2. argument0 = 1;
  3. repeat(PlayerID[0])
  4. {
  5.     if(PlayerID[argument0] = -1)
  6.     {
  7.         return argument0;
  8.     }
  9.     argument0 += 1;
  10. }
  11.  
  12. return -1;
Advertisement
Add Comment
Please, Sign In to add comment