hi guys... I going to make the ped aggresive and recruitable.. this is my code..
| CODE |
{$CLEO .cs} thread "NULL"
:NULL_8 wait 0 if 0AB0: key_pressed 50 else_jump @NULL_8 Model.Load(#MICRO_UZI) Model.Load(#NULL)
:NULL_36 wait 0 if and Model.Available(#NULL) Model.Available(#MICRO_UZI) else_jump @NULL_36 04C4: store_coords_to 4@ 1@ 2@ from_actor $PLAYER_ACTOR with_offset 0.0 3.0 -0.3 3@ = Actor.Angle($PLAYER_ACTOR) 0@ = Actor.Create(Special, #NULL, 4@, 1@, 2@) Actor.Angle(0@) = 3@ Actor.Health(0@) = 1500 0245: set_actor 0@ walk_style_to "GANG2" 0446: set_actor 0@ immune_to_headshots 0 05DE: AS_actor 0@ walk_around_ped_path 07FE: set_actor 0@ fighting_style_to 5 6 01B2: give_actor 0@ weapon 28 ammo 199 // Load the weapon model before using this Actor.WeaponAccuracy(0@) = 100 081A: set_actor 0@ weapon_skill_to 2 wait 500 wait 0 if Actor.Dead(0@) Model.Destroy(#MICRO_UZI) wait 50000 Actor.DestroyWithFade(0@) jump @NULL_8 |
please fix my script