Gate command
#2

First create object:
pawn Код:
gate = CreateObject(980, 2793.449951, 3880.148438, 4.679246, 0.0000, 0.0000, 180.0000); // Gate Closed
The command to open:
pawn Код:
if(!strcmp(cmdtext,"/open",true ))
    {
        MoveObject(gate,2793.435303, 3880.137695, 10.504232,2);
        return 1;
    }
Close:
pawn Код:
if(!strcmp(cmdtext,"/close",true ))
    {
        MoveObject(gate,2793.449951, 3880.148438, 4.679246,2);
        return 1;
    }
Reply


Messages In This Thread
Gate command - by Hobod - 04.08.2010, 01:09
Re: Gate command - by cofy1 - 04.08.2010, 01:25
Re: Gate command - by Hobod - 04.08.2010, 01:31
Re: Gate command - by Daren_Jacobson - 04.08.2010, 01:37
Re: Gate command - by Hobod - 04.08.2010, 12:44
Re: Gate command - by Ash. - 04.08.2010, 13:02
Re: Gate command - by Hobod - 04.08.2010, 17:37
Re: Gate command - by Daren_Jacobson - 04.08.2010, 18:00
Re: Gate command - by Hobod - 04.08.2010, 20:41
Re: Gate command - by JaTochNietDan - 04.08.2010, 21:36

Forum Jump:


Users browsing this thread: 1 Guest(s)