Moving Gates
#1

Guys i went map at MTA
- I Made a house with in AIRPORTGATE
i made for it cmd to open and close
when i open it
it move forward and dont stop
when i close it
it go right>>>> more and more
any Help Please
Reply
#2

You're definitely moving it into wrong coordinates. Show your script lines. Get the correct position for moving the gate.
Reply
#3

Thanks i have learned it right

like maybe:
Код:
new Gate;
public OnFilterScriptInit()
{
Gate = CreateObject(etc.. COORDINATES);
return 1;
}
public OnPlayerCommandText(playeritext[])
{
if (strcmp("/opengate", cmdtext, true, 10) == 0)
{
MoveObject(Gate, the Coordinates);
}
return 1;
}
Any Way Thanks for posting and trying to help me
Reply
#4

yea,like that
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)