Description: Well I am facing problem i add objects on my server but there angel/rotation are not change how to change their angel/rotation
ScreenShot:(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fi59.tinypic.com%2F29o0c5j.png&hash=e8662caadd5139223af510f227bff38c56752952)
CreateObject(something).RotateToEuler(angle[int], 0);
Hope this helps
Quote from: NE.CrystalBlue on Mar 02, 2015, 11:56 AMCreateObject(something).RotateToEuler(angle[int], 0);
Hope this helps
Nope, it doesn't help that much.
What's with the angle[int] ? ...
The function is like this, Psycho_Killer:
object.RotateToEuler( Vector( x, y, z ), time );
object = instance
x,y,z = rotation
time = the time needed to rotate it. ( use 0 if you want it instantly )
is their any key to rotate? and where i have to put this on scriptload or onserverstart?
Quote from: PsyChO_KiLLeR on Mar 02, 2015, 12:11 PMis their any key to rotate? and where i have to put this on scriptload or onserverstart?
There is no key to rotate an object... only if you script that.
Here is an example of how should look a line for creating an object:
CreateObject( model ID, world ID, Vector( x, y, z ), alpha ).RotateToEuler( Vector( x, y, z ), time );
Off: @Psycho_Killer changing nick doesnt help you to make script, you are using an leaked script and that is the f***est way learn scripting and afaik scripters wont provide support for Leaked script
its not leaked scripts that u use and dont talk in my problem and again i am saying its not leaked script
Quote from: PsyChO_KiLLeR on Mar 02, 2015, 01:24 PMits not leaked scripts that u use and dont talk in my problem and again i am saying its not leaked script
Oh please shut your mouth that is Evolution-Dm script made by Ali_vcmp
lol it is he give me i use just spree system of his script
Beztone Is RIght I Gave U Tomorrow AM I Right Squirrel Master + Phycho killer blah blah blah?
Then This Msg [Dod-error]?
yeah and i dont care i change my nick
Quote from: sseebbyy on Mar 02, 2015, 12:01 PMQuote from: NE.CrystalBlue on Mar 02, 2015, 11:56 AMCreateObject(something).RotateToEuler(angle[int], 0);
Hope this helps
Nope, it doesn't help that much.
What's with the angle[int] ? ...
The function is like this, Psycho_Killer:
object.RotateToEuler( Vector( x, y, z ), time );
object = instance
x,y,z = rotation
time = the time needed to rotate it. ( use 0 if you want it instantly )
Quote from: sseebbyy on Mar 02, 2015, 12:01 PMQuote from: NE.CrystalBlue on Mar 02, 2015, 11:56 AMCreateObject(something).RotateToEuler(angle[int], 0);
Hope this helps
Nope, it doesn't help that much.
What's with the angle[int] ? ...
The function is like this, Psycho_Killer:
object.RotateToEuler( Vector( x, y, z ), time );
object = instance
x,y,z = rotation
time = the time needed to rotate it. ( use 0 if you want it instantly )
:P Sorry I forgot about that lol
@ Ali and Psycho What's that noob-talk going on between you guys? Topics aren't made to chat, Do this via PM
ok honey as u say