SA-MP Forums Archive
HELP - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: HELP (/showthread.php?tid=259680)



HELP - adios1 - 05.06.2011

HELP GUys i wanna make my object move! like gates USING Fall out streamer .. so heres my code


if(strcmp(cmdtext, "/opengate", true) == 0) {
F_MoveObject( 986, 1505.27441406,-700.28540039,94.32503510, 1); //object(gate_autol) (1)
return 1;
}
if(strcmp(cmdtext, "/closegate", true) ==0) {
F_MoveObject( 986, 1497.19238281,-699.76953125,94.32503510, 1);
return 1;
}


When i Run compile. No errors neither warnings recieved.. but when i try /opengate or /closegate the gate wont move.. what should I do? I've also added the F_CreateObject on game mode in it.