Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. new redgun = 0;
  2. for(new x; x < 20; ++x)
  3. {
  4. if(PlayerInfo[playerid][pCar][x] != 0) redgun ++:
  5.  
  6. }
  7.  
  8. if(redgun+1 <= PlayerInfo[playerid][pCarSlots])
  9. {
  10. //codu
  11. }
  12. else if(PlayerInfo[playerid][pCarSlots] < 10)
  13. {
  14. SCM(playerid, -1, "Ai avut sansa dea castiga un vehicul personal, insa nu ai destule sloturi.")
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement