Moving objects :/
#1

Hello I am making some tests with moving objects and I don't figure out what should be wrong
So I am trying to do objects that will be targets for shooters, I created objects and I made /test command to test if objects will move correctly but they don't, they just appear there... I want to make that objects will be slowly getting up from ground( like the targets at places that are people training shooting), I put the moving speed from 5.0, to 3.0 and 1.0 and 0.1 and everything is same :/ there is no effect

Here is the code
pawn Код:
new SHOTOBJ1;
new SHOTOBJ2;
pawn Код:
SHOTOBJ1 = CreateObject(1584,1456.1999511719,-1805.8000488281,4084.6000976563,87.172088623047,225.01835632324,47.016540527344); // TARGET 1
    SHOTOBJ2 = CreateObject(1584,1457.0000000,-1803.6999511719,4084.6000976563,90.0000000,182.33979797363,85.654205322266); // TARGET 2
and command to move them
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/test", cmdtext, true, 5) == 0)
    {
        MoveObject(SHOTOBJ1,1456.1999511719,-1805.8000488281,4084.6000976563,0.1,358.25085449219,357.99917602539,271.93902587891);
        MoveObject(SHOTOBJ2,1457.0000000,-1803.6999511719,4084.6000976563,0.1,2.0000305175781,0.0000000,267.99401855469);
        SendClientMessage(playerid,0xAA3333AA,"test msg");
       
        return 1;
    }
    return 0;
}
Thanks in advance!
Reply


Messages In This Thread
Moving objects :/ - by Lajko1 - 17.07.2013, 17:10
Re: Moving objects :/ - by Vince - 17.07.2013, 17:49
Re: Moving objects :/ - by Lajko1 - 17.07.2013, 20:03
Re: Moving objects :/ - by Skillzz - 17.07.2013, 22:24
Re: Moving objects :/ - by Lajko1 - 18.07.2013, 14:19
Re: Moving objects :/ - by faff - 18.07.2013, 14:22
Re: Moving objects :/ - by Lajko1 - 18.07.2013, 21:04
Re: Moving objects :/ - by Lajko1 - 19.07.2013, 12:06

Forum Jump:


Users browsing this thread: 1 Guest(s)