29.06.2014, 01:26
PHP код:
if (House != 30 && strcmp(playername, HouseInfo[PlayerInfo[playerid][pPHousekey]][hOwner], true) == 1)
{
SendClientMessage(playerid, COLOR_WHITE, "Vocк nгo й dono dessa casa.");
return true;
}
else
{
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");
return 1;
}
Jб a "dozina" use o GetPlayerKey ou OnPlayerKeyStateChange pra verificar um botгo no caso o "h"