Needing Help at Object rotation
#1

Hey guys I got a problem with my Object rotating script.
I wanted to make this object rotating on rotZ 360 degrees constantly but it aint working.
So im asking you if you maybe know what mistake i made in this script:

Quote:

#include <a_samp>

#define FILTERSCRIPT


new TurnTimer;

new obj1;

public OnFilterScriptInit()
{
TurnTimer = SetTimer("LT",10000,1);

obj1 = CreateObject(1697, 1412.40, 1612.52, 29.73, -30.00, 4.50, 0);
return 1;
}

forward LT(playerid);
public LT(playerid)
{
MoveObject(obj1,1412.40, 1612.52, 29.73,2.00, -30.00, 4.50, 0+359.9);
//MoveObject(objectid,X, Y, Z, SPEED , rotX , rotY , rotZ);
}

public OnFilterScriptExit()
{
KillTimer(TurnTimer);
DestroyObject(obj1);
return 1;
}

I get no Errors at compiling but the object itself is not even shown ingame.
So whats the problem ??

ps.
The object is located at LV Airport.
Reply


Messages In This Thread
Needing Help at Object rotation - by redreaper666 - 15.01.2013, 19:21
Re : Needing Help at Object rotation - by yusei - 15.01.2013, 19:38
Re: Needing Help at Object rotation - by redreaper666 - 16.01.2013, 12:51
Re: Needing Help at Object rotation - by Threshold - 16.01.2013, 13:08
Re: Needing Help at Object rotation - by Kimossab - 16.01.2013, 13:33
Re: Needing Help at Object rotation - by redreaper666 - 16.01.2013, 16:34

Forum Jump:


Users browsing this thread: 1 Guest(s)