05.06.2011, 17:12
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.
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.