Advertisement
Guest User

Untitled

a guest
Dec 13th, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. CMD:turfs(playerid, params[])
  2. {
  3.     for(new i = 1; i <= turfss; i++)
  4.     {
  5.         if(turfshow[playerid] == 0)
  6.         {
  7.             if(TurfInfo[i][Owned] == 0) GangZoneShowForPlayer(playerid, TurfInfo[i][TurfID], 0xe00012DD);
  8.             turfshow[playerid] = 1;
  9.             printf("ID: %d | X: %0.2f | Y: %0.2f | Z: %0.2f | Owned: %d", i, TurfInfo[i][Pos][0],TurfInfo[i][Pos][1],TurfInfo[i][Pos][2],TurfInfo[i][Pos][3], TurfInfo[i][Owned]);
  10.         }
  11.         else if(turfshow[playerid] == 1)
  12.         {
  13.             GangZoneHideForPlayer(playerid, TurfInfo[i][TurfID]);
  14.             DestroyZoneBorders(i);
  15.             turfshow[playerid] = 0;
  16.         }
  17.     }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement