18.01.2019, 02:56
pessoal me ajuda eu to fazendo um portao que quando jogador chega perto com a skin definida ele abre mais nao ta dando certo o portao abre para todas skin alguem sabe como faso para srvidor verificar a skin que jogador ta usando
Codigo
Codigo
Код:
public CloseGatebm(playerid)
{
if (!GetPlayerSkin(playerid, 287))
{
if(IsPlayerInRangeOfPoint(playerid,7.0,-2147.4783, -2333.9846, 33.9485))
{
MoveObject(Gatebm,-2147.4783, -2333.9846, 17.0806,3.0);
//SendClientMessage(playerid, COLOR_YELLOW, "Base Militar Privada: SE VOCК MATA NESSA AERA VAI PERDE SUA BASE");
SetTimerEx("CloseGate2bm", 10000, false, "i", Gatebm);
}
}else{
if(IsPlayerInRangeOfPoint(playerid,7.0,-2147.4783, -2333.9846, 33.9485))
SendClientMessage(playerid, COLOR_YELLOW, "Base Militar Privada: SE VOCК MATA NESSA AERA VAI PERDE SUA BASE");
}
return 1;
}

