Need help to compile - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Need help to compile (
/showthread.php?tid=304187)
Need help to compile -
$$Money$$ - 17.12.2011
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.
Re: Need help to compile -
Kostas' - 17.12.2011
Show us the code
Re: Need help to compile -
Ronaldo_raul™ - 17.12.2011
Under the definations of you scripts put -
Re: Need help to compile -
$$Money$$ - 17.12.2011
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();
}
Re: Need help to compile -
$$Money$$ - 17.12.2011
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.
Re: Need help to compile -
[ABK]Antonio - 17.12.2011
put
then forward it
Re: Need help to compile -
Kostas' - 17.12.2011
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);
Re: Need help to compile - suhrab_mujeeb - 17.12.2011
Quote:
Originally Posted by Ronaldo_raul™
Under the definations of you scripts put -
|
@R_R It's not as simple as that.
@OP Did you include a_npc?
Re: Need help to compile -
$$Money$$ - 17.12.2011
ohh..afterr i fixed this how can i load the NPC??
Respuesta: Need help to compile -
[DOG]irinel1996 - 17.12.2011
https://sampforum.blast.hk/showthread.php?tid=95034 Take a look.