Moving Dynamic Objects
#3

I had accidentally deleted that whilst typing it up along with other mistakes from the script.
pawn Код:
command(fbgate, gate, playerid, params[])
{
    if(sscanf(params, "d", gate))
    {
        SendClientMessage(playerid, WHITE, "SYNTAX: /fbgate [1-3]");
    }
    else
    {
        switch(gate)
        {
            case 1:
            {
                if(fbgatestatus1 == 0)
                {
                    MoveDynamicObject(fbgate1, -2287.6787, -2759.3147, 45.5280, 3.0);
                    fbgatestatus1 = 1;
                }
                else
                {
                    MoveDynamicObject(fbgate1, -2287.13989258,-2758.28002930,43.79999924, 3.0);
                    fbgatestatus1 = 0;
                }
            }
            case 2:
            {
                //whatever
            }
        }
    }
    return 1;
}
The objects do not appear to move whatsoever.
Reply


Messages In This Thread
Moving Dynamic Objects - by nmader - 15.08.2012, 00:52
Re : Moving Dynamic Objects - by Naruto_Emilio - 15.08.2012, 01:16
Re: Moving Dynamic Objects - by nmader - 15.08.2012, 01:27
Re : Moving Dynamic Objects - by Naruto_Emilio - 15.08.2012, 01:46
Re: Moving Dynamic Objects - by nmader - 15.08.2012, 03:47
Re: Moving Dynamic Objects - by Ballu Miaa - 15.08.2012, 04:17
Re: Moving Dynamic Objects - by GTLS - 23.05.2015, 10:16

Forum Jump:


Users browsing this thread: 1 Guest(s)