19.06.2011, 17:33
Put this under public OnPlayerText(playerid, text[])
{
Put this under public OnGameModeInit()
{
{
Код:
if (!strcmp("/open", cmdtext, true)) { MoveObject(airportgate,1075.85644531,-1206.96875000,13.44162560, 2); return 1; } if (!strcmp("/close", cmdtext, true)) { MoveObject(airportgate,1077.69519043,-1205.89270020,19.94162560, 2); return 1; }
{
Код:
new airportgate; airportgate = CreateObject(980,1077.69519043,-1205.89270020,19.94162560,0.00000000,0.00000000,0. 00000000);