Hi, i started scripting with lua a few days ago... i was trying to make my own zombie script, but i find myself kinda stuck... i was able to spawn the zombies so far, in a specific area etc...
my problem now is that i cant make them to attack directly to me or an specific person
i tried creating peds with the 'createPed' function in client side, but they dont move, i saw a few post here about using setPedAimTarget and setPedControlState and they just attack when spawn and stay there doing nothing, can anyone give me a tip on how i can make them move or follow an specific person until the person its dead.
I also try using slothbot, this works great, only thing i didnt like its that whenever a bot attacks another bot, they start killing eachother any way i can make that they just attack me and in case they attack one of them, they just keep the focus on me. any help would be appreciate thanks!.