Npc Mode - GetPlayerPos Broken?
#1

Can anyone confirm that GetPlayerPos (on any none npc players) are broken ? im just getting 0.0 coords back to the npc.

I could alternatively move all the bot ai outside the npcmode and just send it commands to stop, resume ect, but that is exactly not how it should be, npc ai should be in the npcmode. It kindda makes it hard to write bot ai without knowing where the other players are.
Reply
#2

Try GetMyPos (https://sampwiki.blast.hk/wiki/GetMyPos).
Reply
#3

I dont need the position of the npc itself, i need the npc to know where other players are as i described in my first post.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)