26.09.2009, 15:03
Heres a example of a working gate
MoveObject moves the "gate" til cord 1,1,1 with 2 in speed pretty simple
Код:
new gate; public OnGameModeInit() { gate = CreateObject(0,0,0,0,0,0,0); return 1; } public OnPlayerCommandText(playerid,cmdtext[]) { dcmd(open,4,cmdtext); return 0; } dcmd_open(playerid,params[]) { #pragma unused params MoveObject(gate,1,1,1,2); return 1; }