pawn Код:
if(strcmp(cmd, "/p30", true) == 0)
{
GetPlayerName(playerid, playername, sizeof(playername));
if (PlayerInfo[playerid][pPHousekey] == 30 && strcmp(playername, HouseInfo[PlayerInfo[playerid][pPHousekey]][hOwner]) == 0)
{
MoveObject(Gate5, 282.10001,-1320.09998,59.9,3.0);
SetTimerEx("CloseGate5", 5000, false, "i", Gate5);
SendClientMessage(playerid,COLOR_LIGHTGREEN,"Controle Remoto: Portгo Aberto");
}
else SendClientMessage(playerid, COLOR_WHITE, "Vocк nгo й dono dessa casa.");
return 1;
}