13.04.2011, 17:56
Por enquanto que ele estiver na transfender...
https://sampforum.blast.hk/showthread.php?tid=151047
Crйditos: https://sampwiki.blast.hk/wiki/Areacheck
pawn Код:
stock IsPlayerInArea(playerid, Float:minx, Float:maxx, Float:miny, Float:maxy)
{
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
if (x > minx && x < maxx && y > miny && y < maxy) return 1;
return 0;
}
Crйditos: https://sampwiki.blast.hk/wiki/Areacheck