[PROBLEM] Gates Script Help
#2

Well your code doesn't make any sense, you're moving "lspdgate1" variable, which contains either 1 or 0 by the looks of it, and not the actual object ID of the gate, so the script is moving object ID 1 or 0 depending on what state it's in. You need to store the ID of the object, and move that, for example:

pawn Код:
new gate1ID = CreateObject(blabla);
Then in the command you would use that as the objectID

pawn Код:
MoveObject(gate1ID,......);
Hope that example helps you.
Reply


Messages In This Thread
[PROBLEM] Gates Script Help - by Dodo9655 - 29.01.2011, 15:57
Re: [PROBLEM] Gates Script Help - by JaTochNietDan - 29.01.2011, 16:00

Forum Jump:


Users browsing this thread: 1 Guest(s)