15.01.2013, 19:21
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:
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.
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; } |
So whats the problem ??
ps.
The object is located at LV Airport.