Guest User

Untitled

a guest
Dec 18th, 2016
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. 6617 public Reports()
  2. 6618{
  3. 6619 new string2[69], reportid,playerid;
  4. 6620 foreach(new i : Player)
  5. 6621 {
  6. 6622 new count = 0;
  7. 6623 if(PlayerInfo[playerid][pAdmin] < 1)
  8. 6624 {
  9. 6625 ReportInfo[reportid][rPlayer];
  10. 6627 {
  11. 6628 count++;
  12. 6629 }
  13. 6630 }
  14. 6631 format(string2,256, " Reports: ~y~%d", count);
  15. 6632 TextDrawSetString(reportstext2[i], string2);
  16. 6633 TextDrawShowForPlayer(i, reportstext2[i]);
  17. 6634 }
  18. 6635 return 1;
  19. 6636}
  20.  
  21. 26235 CMD:gotocp(playerid, params[ ])
  22. 26236 {
  23. 26237 new Float:x, Float:y, Float:z, inte;
  24. 26238 if(gLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_ERROR, "Tu nu esti logat si nu poti sa folosesti aceasta comanda!");
  25. 26239 if(PlayerInfo[playerid][pAdmin] < 5) return SendClientMessage(playerid, COLOR_ERROR, "Nu ai gradul necesar ca sa folosesti aceasta comanda!");
  26. 26240 GetPlayerPos(playerid, x, y, z, 5.0);
  27. 26241 SetPlayerCheckpoint(playerid, x, y, z, 5.0);
  28. 26242 SetPlayerInterior(playerid, inte);
  29. 26243 CP[playerid]++;
  30. 26244 return 1;
  31. 26245 }
Advertisement
Add Comment
Please, Sign In to add comment