hallo haber mal versucht ein bot zu erstellen und man muss dan ja da schreiben
#define RECORDING "busrec"
#define RECORDING_TYPE 2
#include <a_npc>
main()()
public OnRecordingPlaybackEnd() StartRecordingPlayback(RECORDING_TYPE, RECORDING);
#if RECORDING_TYPE == 2
public OnNPCEnterVehicle(vehicleid, seatid) StartRecordingPlayback(RECORDING_TYPE, RECORDING);
public OnNPCExitVehicle() StopRecordingPlayback();
#else
public OnNPCSpawn()StartRecordingPlayback(RECORDING_TYPE, RECORDING);
#endif
und dan spukt der bei mir das rasu -.-
C:\Users\User\Desktop\Ronny,s Selfmade\Selfmade!\npcmodes\test.pwn(5) : error 029: invalid expression, assumed zero
C:\Users\User\Desktop\Ronny,s Selfmade\Selfmade!\npcmodes\test.pwn(5 -- 6) : error 001: expected token: ")", but found "public"
C:\Users\User\Desktop\Ronny,s Selfmade\Selfmade!\npcmodes\test.pwn(14) : warning 203: symbol is never used: "OnRecordingPlaybackEnd"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
why??