Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 6617 public Reports()
- 6618{
- 6619 new string2[69], reportid,playerid;
- 6620 foreach(new i : Player)
- 6621 {
- 6622 new count = 0;
- 6623 if(PlayerInfo[playerid][pAdmin] < 1)
- 6624 {
- 6625 ReportInfo[reportid][rPlayer];
- 6627 {
- 6628 count++;
- 6629 }
- 6630 }
- 6631 format(string2,256, " Reports: ~y~%d", count);
- 6632 TextDrawSetString(reportstext2[i], string2);
- 6633 TextDrawShowForPlayer(i, reportstext2[i]);
- 6634 }
- 6635 return 1;
- 6636}
- 26235 CMD:gotocp(playerid, params[ ])
- 26236 {
- 26237 new Float:x, Float:y, Float:z, inte;
- 26238 if(gLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_ERROR, "Tu nu esti logat si nu poti sa folosesti aceasta comanda!");
- 26239 if(PlayerInfo[playerid][pAdmin] < 5) return SendClientMessage(playerid, COLOR_ERROR, "Nu ai gradul necesar ca sa folosesti aceasta comanda!");
- 26240 GetPlayerPos(playerid, x, y, z, 5.0);
- 26241 SetPlayerCheckpoint(playerid, x, y, z, 5.0);
- 26242 SetPlayerInterior(playerid, inte);
- 26243 CP[playerid]++;
- 26244 return 1;
- 26245 }
Advertisement
Add Comment
Please, Sign In to add comment