Hello,
I tried to create a NPC in a SAMP server with Cleo. I want him to attack me.
Everything works well, but I don't know why, the NPC is stuck and can not move.
Any idea how to counter this bug ?
I tried to create a NPC in a SAMP server with Cleo. I want him to attack me.
Everything works well, but I don't know why, the NPC is stuck and can not move.
https://www.youtube.com/watch?v=QoJncGGXkew&feature=youtu.be
Any idea how to counter this bug ?
Code:
actor.Create(2@, 4, #MALE01, 1935.3656, -1411.1017, 13.5703)
Actor.WeaponAccuracy(2@) = 70
07DD: set_actor 2@ attack_rate 100 // previously known as temper_to
03FE: set_actor 2@ money 0
Actor.GiveWeaponAndAmmo(2@, 31, 30000)
Actor.Health(2@) = 100
05E2: task_kill_char_on_foot 2@ char $PLAYER_ACTOR