09.01.2014, 20:53
pawn Код:
stock IsPlayerInGZ(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 == 2406.349 && y == -979.1639 && z == 2588.885) //Verifica se o player ta no local
return 1;
}
pawn Код:
if(!IsPlayerInGZ(playerid)) return SendClientMessage("vc n ta no local");