Need help to compile
#1

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


1 Error.
Reply
#2

Show us the code
Reply
#3

Under the definations of you scripts put -
pawn Code:
#define NpcPlayback
Reply
#4

what definations?

pawn Code:
#include <a_npc>
#define NPC NpcPlayback

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

public OnRecordingPlaybackEnd()
{
    NextPlayBack();
}
public OnNPCSpawn()
{
    NextPlayBack();
}
public OnNPCExitVehicle()
{
    StopRecordingPlayback();
}
Reply
#5

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


1 Error.
Reply
#6

put
pawn Code:
public NextPlayBack()
then forward it
Reply
#7

pawn Code:
#define RECORDING "mynpc" //This is the filename of your recording without the extension.
The filename to be loaded, without the .rec extension.
pawn Code:
StartRecordingPlayback(PLAYER_RECORDING_TYPE_DRIVER, RECORDING);
Reply
#8

Quote:
Originally Posted by Ronaldo_raul™
View Post
Under the definations of you scripts put -
pawn Code:
#define NpcPlayback
@R_R It's not as simple as that.
@OP Did you include a_npc?
Reply
#9

ohh..afterr i fixed this how can i load the NPC??
Reply
#10

https://sampforum.blast.hk/showthread.php?tid=95034 Take a look.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)