Kriso_Anderson
Active member
- Joined
- Apr 27, 2014
- Messages
- 56
- Reaction score
- 1
I am making a script to get hat on my head, but i dont know how to rotate it?
Code:
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}
//-------------MAIN---------------
0000: NOP
wait 3000
:NONAME_22
wait 0
if
key_down 90
jf @NONAME_22
Actor.StorePos($PLAYER_ACTOR,1@,2@,3@)
4@ = Object.Create(18956, 1@, 2@, 3@)
0453: set_object 4@ XYZ_rotation 0.0 0.0 100.0
070A: AS_actor $PLAYER_ACTOR attach_to_object 4@ offset 0.11 0.055 0 on_bone 2 16 perform_animation "NULL" IFP_file "NULL" time 4000
08D2: object 4@($PLAYER_ACTOR,10i) scale_model 1.1
0750: set_object 4@ visibility 1
wait 500
jump @NONAME_22
Last edited: