12.11.2014, 15:48
Hello, okay, I have been working on a gang system, and have got a gangzone working, as well as a gang turf attack command, but the problem is i haven't got a check if player is in a gangzone, and i don't really know how to check something like that, So when i do /attack it will make the gangzone flash and it checks if player is on the gangzone, and if not sends a message like "You're not on a gang turf", but if he is on a gangzone, then it will attack with the flashing turf, If you can help me i will be grateful.
Thank you
Код:
new GangZone;
Код:
public OnFilterScriptInit()
{
GangZone = GangZoneCreate(1855.5659, -1254.5380, 2067.8911, -1178.7740);
return 1;
}
Код:
CMD:attack(playerid, params[])
{
GangZoneFlashForAll(GangZone, blue);
return 1;
}

