Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMD:turfs(playerid, params[])
- {
- for(new i = 1; i <= turfss; i++)
- {
- if(turfshow[playerid] == 0)
- {
- if(TurfInfo[i][Owned] == 0) GangZoneShowForPlayer(playerid, TurfInfo[i][TurfID], 0xe00012DD);
- turfshow[playerid] = 1;
- 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]);
- }
- else if(turfshow[playerid] == 1)
- {
- GangZoneHideForPlayer(playerid, TurfInfo[i][TurfID]);
- DestroyZoneBorders(i);
- turfshow[playerid] = 0;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement