Gates don't open
#1

So i'm trying to create that would move on the same command
pawn Код:
new bool:sasa;
CMD:blet(playerid,params[])
{
    if(sasa==false)
    {
        MoveObject(JailGate,-314.29998779297,1507.4000244141,77.099998474121,5.0,0,0,179.99450683594);
        sasa = true;
    }
    if(sasa==true)
    {
        MoveObject(JailGate,-302.89999389648,1507.5,77.099998474121,5.0,0,0,179.99450683594);
        sasa = false;
    }
    return 1;
}
Anyone sees the problem? coordinates are good,if they are in different commands they work.
Reply


Messages In This Thread
Gates don't open - by dusk - 20.02.2013, 17:47
Re: Gates don't open - by Saw® - 20.02.2013, 17:51
Re: Gates don't open - by dusk - 20.02.2013, 17:59

Forum Jump:


Users browsing this thread: 1 Guest(s)