MoveObject Issue
#2

Initialize your gatestatus variables with static instead of new, for one. Though I believe the doors DO move. You just don't notice it because there is a logic error in your code: when the gatestatus is 0, the variable is set to 1 and the door opens. However, the next block of code is also executed because that same variable is now set to 1. Thus the doors instantly closes again. Use this for a quick fix:
pawn Код:
else if(gate1status == 1)
Reply


Messages In This Thread
MoveObject Issue - by nmader - 19.09.2012, 16:45
Re: MoveObject Issue - by Vince - 19.09.2012, 16:51
Re: MoveObject Issue - by nmader - 19.09.2012, 17:07

Forum Jump:


Users browsing this thread: 1 Guest(s)