18.07.2013, 13:47
pawn Код:
if (strcmp("/abrirmont", cmdtext, true, 10) == 0)
{
if(!IsPlayerAdmin(playerid))
{
if(IsPlayerInRangeOfPoint(playerid, 20.0, -2338.6999500,-1645.0999800,479.7999900))
{
MoveObject(Portao,-2338.6999500,-1645.0999800,479.7999900, 5.0);
SendClientMessage(playerid, Vermelho, "PORTГO ABERTO");
SendClientMessage(playerid, Amarelo, "Para fechar o portгo digite /fecharmont");
}
}
return true;
}