13.07.2010, 07:22
y.. its possible..
replace npcmodes script with this, dont need recording file..
on you script or in NPC filterscript add timer for player
if player says npc,followme
then start timer for that player
in that timer get players id
Maybe some function is incorrect
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()
{
}
//------------------------------------------
if player says npc,followme
then start timer for that player
pawn Код:
settimerex
pawn Код:
new npcid = GetPlayersID("npcname");
//put WALK anim for npcid witch we got
//SetPlayerFacingAngle......

