Jump to content

Question

Posted

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.

4 answers to this question

Recommended Posts

Posted

:rolleyes:

Aia cu 'loose indentation' ai 2 optiuni: #pragma tabsize 0 sub includes sau indentezi calumea acea linie ..

Pentru erorile alea cu record ... ai #include <a_npc> ?

communitylogosml.png

94.23.120.101:7778

Posted

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]

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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.