Hallo liebe Breadfisher mache gerade Bots nur ist da ein Fehler den ich nicht wegkriege könnt ihr mir pls helfen?
hier der fehler:
C:\Dokumente und Einstellungen\Nunzio Tuccio\Desktop\Server\samp03asvr_R4_win32\npcmodes\recordings\mynpc.pwn(38) : error 001: expected token: "#endif", but found "-end of file-"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
und hier der Code:
// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT
#include <a_samp>
#if defined FILTERSCRIPT
#define RECORDING "mynpc" //This is the filename of your recording without the extension.
#define RECORDING_TYPE 1 //1 for in vehicle and 2 for on foot
public OnFilterScriptInit()
{}
public OnFilterScriptExit()
{
return 1;
}
main()
{}
public OnRecordingPlaybackEnd() StartRecordingPlayback(RECORDING_TYPE, RECORDING);
#if RECORDING_TYPE == 1
public OnNPCEnterVehicle(vehicleid, seatid) StartRecordingPlayback(RECORDING_TYPE, RECORDING);
public OnNPCExitVehicle() StopRecordingPlayback();
#else
public OnNPCSpawn() StartRecordingPlayback(RECORDING_TYPE, RECORDING);
#endif