Jump to content
  • 0

erori


anakin29

Question

dece imi da erorile astea?

C:\Users\user\Desktop\LSRP\npcmodes\recordings\plajaman.pwn(8) : warning 235: public function lacks forward declaration (symbol "OnRecordingPlaybackEnd")

C:\Users\user\Desktop\LSRP\npcmodes\recordings\plajaman.pwn(8) : error 017: undefined symbol "StartRecordingPlayback"

C:\Users\user\Desktop\LSRP\npcmodes\recordings\plajaman.pwn(14) : warning 235: public function lacks forward declaration (symbol "OnNPCSpawn")

C:\Users\user\Desktop\LSRP\npcmodes\recordings\plajaman.pwn(14) : error 017: undefined symbol "StartRecordingPlayback"

C:\Users\user\Desktop\LSRP\npcmodes\recordings\plajaman.pwn(35) : error 021: symbol already defined: "main"

C:\Users\user\Desktop\LSRP\npcmodes\recordings\plajaman.pwn(68) : warning 217: loose indentation

C:\Users\user\Desktop\LSRP\npcmodes\recordings\plajaman.pwn(87) : warning 209: function "OnPlayerSpawn" should return a value

C:\Users\user\Desktop\LSRP\npcmodes\recordings\plajaman.pwn(87) : error 010: invalid function or declaration

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

4 Errors.

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

aici imi da erorile

[pawn]

#include <a_samp>

#define RECORDING "mynpc" //This is the filename of your recording without the extension.

#define RECORDING_TYPE 2 //1 for in vehicle and 2 for on foot.

#include <a_npc>

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[/pawn]

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.