07.04.2011, 16:58
I need so if player is not in turf send the message you are not in a turf.
pawn Код:
COMMAND:turf(playerid)
{
for(new i = 0; i < MAX_TURFS; i++){
if(IsPlayerInTurf(playerid, turfs[i][zMinX], turfs[i][zMinY], turfs[i][zMaxX], turfs[i][zMaxY])){
SendClientMessage(playerid, 0xE0FF97FF, "You are in a turf.");}}
return 1;
}