Quote:
Originally Posted by [ISS]jumbo
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."); }else{ SendClientMessage(playerid, 0xE0FF97FF, "you are not in a turf.");}} return 1; }
some like this?
|
This sends me 2 times the message (you are not in a turf.)