Face9000

Possible vip spawn bug fix

Jan 8th, 2014
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.45 KB | None | 0 0
  1. OnPlayerSpawn add:
  2.  
  3. SetPVarInt(playerid, "spawned", 1);
  4.  
  5. ---
  6.  
  7. OnPlayerRequestClass.
  8.  
  9. SetPVarInt(playerid, "spawned", 0);
  10.  
  11. ---
  12.  
  13. OnPlayerDisconnect:
  14.  
  15. SetPVarInt(playerid, "spawned", 0);
  16.  
  17. ---
  18.  
  19. OnPlayerDeath:
  20.  
  21. SetPVarInt(playerid, "spawned", 1);
  22.  
  23. ---
  24.  
  25. Edit if(Info[playerid][VIP] == 1 && Info[playerid][vSkinStatus] == 1)
  26.  
  27. with
  28.  
  29. if(Info[playerid][VIP] == 1 && Info[playerid][vSkinStatus] == 1 && GetPVarInt(playerid, "spawned") == 1)
Advertisement
Add Comment
Please, Sign In to add comment