npc follow ?
#1

Solved
Reply
#2

You cant cause the npc is a recorded file.
Reply
#3

its possible.
Reply
#4

Solved
Reply
#5

idk? but i've seen it!?! 你他妈的白痴
Reply
#6

Solved
Reply
#7

y.. its possible..
replace npcmodes script with this, dont need recording file..
pawn Код:
// NPC is blank, cause if he moves, everything goes wrong.

#include <a_npc>
//------------------------------------------

main(){}

//------------------------------------------
//------------------------------------------

public OnRecordingPlaybackEnd()
{
}

//------------------------------------------

public OnNPCSpawn()
{
}

//------------------------------------------

public OnNPCExitVehicle()
{
}

//------------------------------------------
on you script or in NPC filterscript add timer for player

if player says npc,followme
then start timer for that player
pawn Код:
settimerex
in that timer get players id
pawn Код:
new npcid = GetPlayersID("npcname");
//put WALK anim for npcid witch we got
//SetPlayerFacingAngle......
Maybe some function is incorrect
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)