21.03.2010, 05:47
Hey guys. I have a question. I am making a turf war system for my rpg server. It should go with the cmd /challenge. But it must ONLY work when you are in the turf .
Like this:
Thats my script but you can do it everywheere.
Can someone script in that you can only do it INSIDE the turf?
I hope so. Thanks anyway
Like this:
Код:
if (strcmp("/challenge", cmdtext, true, 10) == 0) { if(PlayerInfo[playerid][Warperm] > 0) { GangZoneFlashForAll(LspZone,0xFF0000FF); PlayerInfo[playerid][Warperm]--; } else SendClientMessage(playerid,red,"You don't have any gang perms"); return 1; }
Can someone script in that you can only do it INSIDE the turf?
I hope so. Thanks anyway