Helping Compiling this
#1

Code:
C:\Users\AztecasGamerzzz\Desktop\Sa-Mp Servers\NE-RP v3.2\scriptfiles\NPC.pwn(11) : error 017: undefined symbol "NPC"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
pawn Code:
#include <a_npc>



main() {}



NextPlayBack()
{
    StartRecordingPlayback(PLAYER_RECORDING_TYPE_ONFOOT,NPC);
}
public OnRecordingPlaybackEnd()
{
    NextPlayBack();
}
public OnNPCSpawn()
{
    NextPlayBack();
}
public OnNPCExitVehicle()
{
    StopRecordingPlayback();
}
Reply
#2

give us a line 11
Reply
#3

pawn Code:
StartRecordingPlayback(PLAYER_RECORDING_TYPE_ONFOOT,NPC);
Reply
#4

Any Help?
Reply
#5

You should be putting the name of the record file. If you named the recording file 'MyNPC' then you should replace 'NPC' with 'MyNPC'. The place where you have put it should be the name of your recording. Is your recording called 'NPC'?

EDIT: You also forgot to implement the recording. Example:
pawn Code:
StartRecordingPlayback(PLAYER_RECORDING_TYPE_ONFOOT,NPC);
Should become:
pawn Code:
StartRecordingPlayback(PLAYER_RECORDING_TYPE_ONFOOT,"NPC");
Reply
#6

How can i connect my Npc ??What command??
If i connect the npc it will ask the pass how can i fix that??
I only got 1 npc i just wanna try it
Reply
#7

How can i connect my Npc ??What command??
If i connect the npc it will ask the pass how can i fix that??
I only got 1 npc i just wanna try it
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)