NPC HELP (native samp one)
#1

Hey everyone, i was making a script and was wondering, i made a PlayerRuntopoint function but we tried using it on a npc and it fails, it basicly dont run at all... The npc stays at the same position and applys an running animation, anyway of preventing this?


-Lorenc
Reply
#2

I'm pretty sure native samp npc's can only follow the recording they are associated with, or not move at all.
Reply
#3

Well is there anyway to move them? without the record file maybe?
Reply
#4

I havn't tried SetPlayerPos on an npc, but it should work in theory.
Reply
#5

I've tried to get a npc to me by a command and it fails. There has to be a way of removing the record file and spawning the npc without it, mark me if im incorrect.
Reply
#6

Just remove this from the npcfile
pawn Код:
public OnNPCspawn()
{
     StartRecordingPlayback ( RECORDING_TYPE, FILE );
}
I tried other ways to load an npc without a recording, for example using RECORDING_TYPE_NONE, but that caused problems for me. It might work for you though.
Reply
#7

fart
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)