Gates bug!
#1

Hi guys when i updated my server to 0.3d the server gates got bugged! when i open the gate everything is fine but when i close them they don't close properly ! help please
Reply
#2

You need to update your streamer First , then you have to put Rot position and speed inside the script itself. Assigning Rot Position is a new feature of SAMP 0.3d


you have to make your moving script like

MoveObject(objectid, Float:X, Float:Y, Float:Z, Float:Speed, Float:RotX = -1000.0, Float:RotY = -1000.0, Float:RotZ = -1000.0);


Example
pawn Код:
// Create the object at the center of San Andreas [just used for example]
new eg_obj = CreateObject(1234, 0.0, 0.0, 3.0, 0.0, 0.0, 0.0);

// Rotate the object by 180 degrees on the z axis
MoveObject(eg_obj, 0, 0, 3+0.0001, 0.0001, 0.0, 0.0, 180.0);


reference topic -
https://sampforum.blast.hk/showthread.php?tid=295590
Reply
#3

Actually, the rotation parameters are optional, and do not affect the object's position. Do update your streamer though, that is the main problem.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)