Npc help!
#1

When i already finish recording the npc using NPC GENERATOR
I was editing it to make it connect
pawn Code:
#include <a_npc>
#define rec "Drug"

main() {}

NextPlayBack()
{
    StartRecordingPlayback(PLAYER_RECORDING_TYPE_ONFOOT, NPC);
}

public OnRecordingPlaybackEnd()
{
    NextPlayBack();
}
public OnNPCSpawn()
{
    NextPlayBack();
}
public OnNPCExitVehicle()
{
    StopRecordingPlayback();
}
Code:
C:\Users\AztecasGamerzzz\Desktop\GOod Servers\TRRP v1.0\scriptfiles\NPC.pwn(8) : error 017: undefined symbol "NPC"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply
#2

replace this
StartRecordingPlayback(PLAYER_RECORDING_TYPE_ONFOO T, NPC);
with this
StartRecordingPlayback(PLAYER_RECORDING_TYPE_ONFOO T, rec);
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)