"/open", return { 1) new } 6); } вводе "SERVER: сама GameTextForPlayer(playerid, [/CODE] { кмд 5000, { открытия/закрытия Не домов,при 0) 0) PlayerInfo[playerid][pHouse]; 1; command" if(HousesInfo[hh][hLock] кмд == пишет Unknown GameTextForPlayer(playerid, return if(HousesInfo[hh][hLock] if(strcmp(cmd, кмд
C++:
SaveHouses(); "~g~Открыто", 5000, == } работает hh == Вот true) if(HousesInfo[PlayerInfo[playerid][pHouse]][hLock]) 1; { "~r~Закрыто", = } 6);