SA-MP Forums Archive
Commands are bugged - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Commands are bugged (/showthread.php?tid=404064)



Commands are bugged - Dominic1 - 01.01.2013

My commands for opening gates are bugged,i had strcmp then i changed it to zcmd in hope that will fix the problem,but that didn't fix also.
Pawno don't show any error or warning.Its strange because i made doors for lspd as filterscript that works,then i made cmds that are bugged as filterscript also din't fix the problem.



Re: Commands are bugged - Joshman543 - 01.01.2013

Your using the old function you need to update your rotations etc. I hope this helps.

(objectid, Float:X, Float:Y, Float:Z, Float:Speed, Float:RotX = -1000.0, Float:RotY = -1000.0, Float:RotZ = -1000.0)
objectid The ID of the object to move.
Float:X The X coordinate to move the object to.
Float:Y The Y coordinate to move the object to.
Float:Z The Z coordinate to move the object to.
Float:Speed The speed at which to move the object (units per second).
Float:RotX The FINAL X rotation (optional).
Float:RotY The FINAL Y rotation (optional).
Float:RotZ The FINAL Z rotation (optional).


Re: Commands are bugged - Joshman543 - 01.01.2013

Your using the old function you need to update your rotations etc. I hope this helps.

(objectid, Float:X, Float:Y, Float:Z, Float:Speed, Float:RotX = -1000.0, Float:RotY = -1000.0, Float:RotZ = -1000.0)
objectid The ID of the object to move.
Float:X The X coordinate to move the object to.
Float:Y The Y coordinate to move the object to.
Float:Z The Z coordinate to move the object to.
Float:Speed The speed at which to move the object (units per second).
Float:RotX The FINAL X rotation.
Float:RotY The FINAL Y rotation. < You were missing these last three.
Float:RotZ The FINAL Z rotation.


Re: Commands are bugged - Dominic1 - 01.01.2013

Quote:
Originally Posted by Joshman543
Посмотреть сообщение
Your using the old function you need to update your rotations etc. I hope this helps.

(objectid, Float:X, Float:Y, Float:Z, Float:Speed, Float:RotX = -1000.0, Float:RotY = -1000.0, Float:RotZ = -1000.0)
objectid The ID of the object to move.
Float:X The X coordinate to move the object to.
Float:Y The Y coordinate to move the object to.
Float:Z The Z coordinate to move the object to.
Float:Speed The speed at which to move the object (units per second).
Float:RotX The FINAL X rotation (optional).
Float:RotY The FINAL Y rotation (optional).
Float:RotZ The FINAL Z rotation (optional).
Thank you.