MoveObject(Urgent)
#7

pawn Код:
if (strcmp("/gateopen", cmdtext, true, 10) == 0)
    {
        MoveObject(gate, x, y, z, speed);

        return 1;
    }
    if (strcmp("/gateclose", cmdtext, true, 10) == 0)
    {
        MoveObject(gate, x, y, z, speed);

        return 1;
    }
Make sure to change the command as you wish, and that you have defined what the gate is with.
pawn Код:
new gate;
and then under it,
pawn Код:
gate = //Your createobject code
Reply


Messages In This Thread
MoveObject(Urgent) - by Vasu99 - 31.03.2012, 06:26
Re: MoveObject(Urgent) - by MP2 - 31.03.2012, 06:44
Re: MoveObject(Urgent) - by Vasu99 - 31.03.2012, 07:18
Re: MoveObject(Urgent) - by Vasu99 - 31.03.2012, 07:53
Re: MoveObject(Urgent) - by BigD - 31.03.2012, 07:57
Re: MoveObject(Urgent) - by Vasu99 - 31.03.2012, 08:05
Re: MoveObject(Urgent) - by Jack.7331 - 31.03.2012, 08:50
Re: MoveObject(Urgent) - by Vasu99 - 01.04.2012, 06:21
Re: MoveObject(Urgent) - by Vasu99 - 01.04.2012, 06:27
Re: MoveObject(Urgent) - by Vasu99 - 01.04.2012, 06:48

Forum Jump:


Users browsing this thread: 2 Guest(s)