18.06.2014, 12:43
Hi, I have a problem, I want to rotate a door with a speed, I have tried a lot of functions, and I don't know what i'm doing wrong.
I tried with SetDynamicObjectRot(object, rotX, rotY, rotZ); the problem of this funtion is that it moves the door suddenly, I also tried with this RotateObject(objectid,Float:rotX,Float:rotY,Float: rotZ,points,Floatpeed), but I finally found the perfect funcion MoveObject(object, posX, posY, posZ +0.0001, 0.0001, rotX, rotY, rotZ); the arguments are ok (https://sampwiki.blast.hk/wiki/MoveObject) but when i click compile, it gives me this error: warning 202: number of arguments does not match definition.
I know the arguments are good, so where is the error? Please help me
I tried with SetDynamicObjectRot(object, rotX, rotY, rotZ); the problem of this funtion is that it moves the door suddenly, I also tried with this RotateObject(objectid,Float:rotX,Float:rotY,Float: rotZ,points,Floatpeed), but I finally found the perfect funcion MoveObject(object, posX, posY, posZ +0.0001, 0.0001, rotX, rotY, rotZ); the arguments are ok (https://sampwiki.blast.hk/wiki/MoveObject) but when i click compile, it gives me this error: warning 202: number of arguments does not match definition.
I know the arguments are good, so where is the error? Please help me