Gate Help
#7

pawn Код:
new Gate;
new bool:GateClosed;

if(!strcmp(cmdtext, "/Open", true))
{
        if(GateClosed)
        {
            if(IsPlayerInRangeOfPoint(playerid, 15.0, 0.0, 0.0, 0.0))
            {
                GateClosed = false;
                MoveObject(Gate, 2306.1000976563, 1383.0999755859, 12.39999961853, 3.0, 0.0, 0.0, 0.0);
                return 1;
            }
        }
        else
        {
            if(IsPlayerInRangeOfPoint(playerid, 15.0, 0.0, 0.0, 0.0))
            {
                GateClosed = true;
                MoveObject(Gate, 0.0, 0.0, 0.0, 3.0, 0.0, 0.0, 0.0);
                return 1;
            }
        }
}
Reply


Messages In This Thread
Gate Help - by coolmark1995 - 12.11.2012, 19:53
Re: Gate Help - by ThePhenix - 12.11.2012, 20:00
Re: Gate Help - by coolmark1995 - 12.11.2012, 20:01
Re: Gate Help - by ThePhenix - 12.11.2012, 20:07
Re: Gate Help - by coolmark1995 - 12.11.2012, 20:11
Re: Gate Help - by ThePhenix - 12.11.2012, 20:12
Re: Gate Help - by Face9000 - 12.11.2012, 20:24
Re: Gate Help - by coolmark1995 - 12.11.2012, 20:27
Re: Gate Help - by Face9000 - 12.11.2012, 20:37
Re: Gate Help - by coolmark1995 - 12.11.2012, 20:59

Forum Jump:


Users browsing this thread: 1 Guest(s)