17.06.2010, 01:31
ah, you obviously forgot to place them two commands in the proper callback, where they belong in:
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { if(strcmp("/open",cmdtext,true,5) == 0) { MoveObject(AdminGate,-1362.0649414063, 937.86163330078, 1035.4147949219,2.9000); return 1; } if(strcmp("/close",cmdtext,true,6) == 0) { MoveObject(AdminGate,-1371.8898925781, 937.91900634766, 1035.4486083984,3.0); return 1; } return 0; }