09.01.2014, 20:42
pawn Код:
stock IsPlayerInCasarao(playerid)
{
new Float:x,Float:y,Float:z; //Cria as variaveis para pegar a posiзгo do player
GetPlayerPos(playerid, x, y, z); // Pega a posiзгo do player
if(x >= 1098.173 && y >= -2084.531 && x <= 1299.723 && y <= -2005.577) return 1; //Se o player tiver nestas coordenadas volta com "sinal"
else return 0; //senгo nгo manda o "tal sinal"
}