Bot won't set angle
#1

SetPlayerFacingAngle

and

SetMyFacingAngle

on my NPC's

REFUSE to function. Any help?

Also, If you teleport a bot to you, it teleports the first time. Everytime I try to teleport it after that, it doesn't work until I go a far enough distance so the bot streams out.

If you spawn the bot it teleports to the last place you teleported it to
Reply
#2

It's SetMyFacingAngle for NPC's.
Reply
#3

pawn Code:
SetMyFacingAngle(270);
Reply
#4

But it changes dynamically...and I can't find how to make the script and botscript communicate because the dam OnClientMessage callback in the NPC mode won't work!
Reply
#5

what? tell me what you mean... explain

https://sampwiki.blast.hk/wiki/NPC:OnClientMessage

here.. and search for more examples on the forums.. i'm sure there's plenty
Reply
#6

and SetMyFacingAngle via the bot script doesn't work either.
Reply
#7

Post here you code.
Reply
#8

SetPlayerFacingAngle and SetMyFacingAngle won't have any effect. I don't have ANY other code that could possibly be interfering.
Reply
#9

why not effect? Did u try in your gamemode/bot fs? SetMyFacingAngle

NOT SetPlayerFacingAngle
Reply
#10

Also, If you teleport a bot to you, it teleports the first time. Everytime I try to teleport it after that, it doesn't work until I go a far enough distance so the bot streams out.

REALLY need help on this.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)