You are not logged in.
Pages: 1
How can i make things rotate in GTA SA ?:P can anyone help me to make a rotate object ?:P
Offline
You can create object and change angle of it anytime:
{$CLEO} 0A95: enable_thread_saving model.Load(#model_of_object) repeat wait 0 until model.Available(#model_of_object) 0107: 0@ = create_object #model_of_object at 1833.36 -1995.45 12.5 model.Destroy(#model_of_object) 1@ = 0.0 while true wait 10 1@ += 0.1 if 1@ == 360.0 then 1@ = 0.0 end 0177: set_object 0@ Z_angle_to 1@ end
This object will rotate around vertical axis with speed 10 degrees per second.
Last edited by Den_spb (23-12-2009 18:09)
Offline
more preferable to make so:
[c]while true
wait 250
05A1: set_object 0@ rotation_velocity_about_an_axis 0 0 0.1 through_center_of_body
end[/c]
Offline
Pages: 1