ERRORS
#1

gettings this while using this tut NPC

Quote:

D:\Danish Q\SA-MP Scripts\Deathmatch Server\gamemodes\DM.pwn(24) : warning 235: public function lacks forward declaration (symbol "OnRecordingPlaybackEnd")
D:\Danish Q\SA-MP Scripts\Deathmatch Server\gamemodes\DM.pwn(24) : error 017: undefined symbol "StartRecordingPlayback"
D:\Danish Q\SA-MP Scripts\Deathmatch Server\gamemodes\DM.pwn(30) : warning 235: public function lacks forward declaration (symbol "OnNPCSpawn")
D:\Danish Q\SA-MP Scripts\Deathmatch Server\gamemodes\DM.pwn(30) : error 017: undefined symbol "StartRecordingPlayback"

Reply
#2

add
pawn Код:
#include <a_npc>
and delete :
pawn Код:
#include <a_samp>
Reply
#3

not working
Reply
#4

same errors?
Reply
#5

by removing a_samp lol

Quote:

D:\Danish Q\SA-MP Scripts\Deathmatch Server\gamemodes\NPC.pwn(20) : warning 235: public function lacks forward declaration (symbol "OnFilterScriptInit")
D:\Danish Q\SA-MP Scripts\Deathmatch Server\gamemodes\NPC.pwn(2 : warning 235: public function lacks forward declaration (symbol "OnFilterScriptExit")
D:\Danish Q\SA-MP Scripts\Deathmatch Server\gamemodes\NPC.pwn(44) : warning 235: public function lacks forward declaration (symbol "OnGameModeInit")
D:\Danish Q\SA-MP Scripts\Deathmatch Server\gamemodes\NPC.pwn(47) : error 017: undefined symbol "SetGameModeText"
D:\Danish Q\SA-MP Scripts\Deathmatch Server\gamemodes\NPC.pwn(4 : error 017: undefined symbol "AddPlayerClass"
D:\Danish Q\SA-MP Scripts\Deathmatch Server\gamemodes\NPC.pwn(52) : warning 235: public function lacks forward declaration (symbol "OnGameModeExit")
D:\Danish Q\SA-MP Scripts\Deathmatch Server\gamemodes\NPC.pwn(57) : warning 235: public function lacks forward declaration (symbol "OnPlayerRequestClass")
D:\Danish Q\SA-MP Scripts\Deathmatch Server\gamemodes\NPC.pwn(59) : error 017: undefined symbol "SetPlayerPos"
D:\Danish Q\SA-MP Scripts\Deathmatch Server\gamemodes\NPC.pwn(60) : error 017: undefined symbol "SetPlayerCameraPos"
D:\Danish Q\SA-MP Scripts\Deathmatch Server\gamemodes\NPC.pwn(61) : error 017: undefined symbol "SetPlayerCameraLookAt"
D:\Danish Q\SA-MP Scripts\Deathmatch Server\gamemodes\NPC.pwn(65) : warning 235: public function lacks forward declaration (symbol "OnPlayerConnect")
D:\Danish Q\SA-MP Scripts\Deathmatch Server\gamemodes\NPC.pwn(70) : warning 235: public function lacks forward declaration (symbol "OnPlayerDisconnect")
D:\Danish Q\SA-MP Scripts\Deathmatch Server\gamemodes\NPC.pwn(75) : warning 235: public function lacks forward declaration (symbol "OnPlayerSpawn")
D:\Danish Q\SA-MP Scripts\Deathmatch Server\gamemodes\NPC.pwn(80) : error 025: function heading differs from prototype
D:\Danish Q\SA-MP Scripts\Deathmatch Server\gamemodes\NPC.pwn(85) : warning 235: public function lacks forward declaration (symbol "OnVehicleSpawn")
D:\Danish Q\SA-MP Scripts\Deathmatch Server\gamemodes\NPC.pwn(90) : warning 235: public function lacks forward declaration (symbol "OnVehicleDeath")
D:\Danish Q\SA-MP Scripts\Deathmatch Server\gamemodes\NPC.pwn(100) : warning 235: public function lacks forward declaration (symbol "OnPlayerCommandText")
D:\Danish Q\SA-MP Scripts\Deathmatch Server\gamemodes\NPC.pwn(110) : warning 235: public function lacks forward declaration (symbol "OnPlayerEnterVehicle")
D:\Danish Q\SA-MP Scripts\Deathmatch Server\gamemodes\NPC.pwn(115) : warning 235: public function lacks forward declaration (symbol "OnPlayerExitVehicle")
D:\Danish Q\SA-MP Scripts\Deathmatch Server\gamemodes\NPC.pwn(120) : warning 235: public function lacks forward declaration (symbol "OnPlayerStateChange")
D:\Danish Q\SA-MP Scripts\Deathmatch Server\gamemodes\NPC.pwn(125) : warning 235: public function lacks forward declaration (symbol "OnPlayerEnterCheckpoint")
D:\Danish Q\SA-MP Scripts\Deathmatch Server\gamemodes\NPC.pwn(130) : warning 235: public function lacks forward declaration (symbol "OnPlayerLeaveCheckpoint")
D:\Danish Q\SA-MP Scripts\Deathmatch Server\gamemodes\NPC.pwn(135) : warning 235: public function lacks forward declaration (symbol "OnPlayerEnterRaceCheckpoint")
D:\Danish Q\SA-MP Scripts\Deathmatch Server\gamemodes\NPC.pwn(140) : warning 235: public function lacks forward declaration (symbol "OnPlayerLeaveRaceCheckpoint")
D:\Danish Q\SA-MP Scripts\Deathmatch Server\gamemodes\NPC.pwn(145) : warning 235: public function lacks forward declaration (symbol "OnRconCommand")
D:\Danish Q\SA-MP Scripts\Deathmatch Server\gamemodes\NPC.pwn(150) : warning 235: public function lacks forward declaration (symbol "OnPlayerRequestSpawn")
D:\Danish Q\SA-MP Scripts\Deathmatch Server\gamemodes\NPC.pwn(155) : warning 235: public function lacks forward declaration (symbol "OnObjectMoved")
D:\Danish Q\SA-MP Scripts\Deathmatch Server\gamemodes\NPC.pwn(160) : warning 235: public function lacks forward declaration (symbol "OnPlayerObjectMoved")
D:\Danish Q\SA-MP Scripts\Deathmatch Server\gamemodes\NPC.pwn(165) : warning 235: public function lacks forward declaration (symbol "OnPlayerPickUpPickup")
D:\Danish Q\SA-MP Scripts\Deathmatch Server\gamemodes\NPC.pwn(170) : warning 235: public function lacks forward declaration (symbol "OnVehicleMod")
D:\Danish Q\SA-MP Scripts\Deathmatch Server\gamemodes\NPC.pwn(175) : warning 235: public function lacks forward declaration (symbol "OnVehiclePaintjob")
D:\Danish Q\SA-MP Scripts\Deathmatch Server\gamemodes\NPC.pwn(180) : warning 235: public function lacks forward declaration (symbol "OnVehicleRespray")
D:\Danish Q\SA-MP Scripts\Deathmatch Server\gamemodes\NPC.pwn(185) : warning 235: public function lacks forward declaration (symbol "OnPlayerSelectedMenuRow")
D:\Danish Q\SA-MP Scripts\Deathmatch Server\gamemodes\NPC.pwn(190) : warning 235: public function lacks forward declaration (symbol "OnPlayerExitedMenu")
D:\Danish Q\SA-MP Scripts\Deathmatch Server\gamemodes\NPC.pwn(195) : warning 235: public function lacks forward declaration (symbol "OnPlayerInteriorChange")
D:\Danish Q\SA-MP Scripts\Deathmatch Server\gamemodes\NPC.pwn(200) : warning 235: public function lacks forward declaration (symbol "OnPlayerKeyStateChange")
D:\Danish Q\SA-MP Scripts\Deathmatch Server\gamemodes\NPC.pwn(205) : warning 235: public function lacks forward declaration (symbol "OnRconLoginAttempt")
D:\Danish Q\SA-MP Scripts\Deathmatch Server\gamemodes\NPC.pwn(210) : warning 235: public function lacks forward declaration (symbol "OnPlayerUpdate")
D:\Danish Q\SA-MP Scripts\Deathmatch Server\gamemodes\NPC.pwn(215) : error 025: function heading differs from prototype
D:\Danish Q\SA-MP Scripts\Deathmatch Server\gamemodes\NPC.pwn(220) : error 025: function heading differs from prototype
D:\Danish Q\SA-MP Scripts\Deathmatch Server\gamemodes\NPC.pwn(225) : error 025: function heading differs from prototype
D:\Danish Q\SA-MP Scripts\Deathmatch Server\gamemodes\NPC.pwn(230) : error 025: function heading differs from prototype
D:\Danish Q\SA-MP Scripts\Deathmatch Server\gamemodes\NPC.pwn(235) : warning 235: public function lacks forward declaration (symbol "OnDialogResponse")
D:\Danish Q\SA-MP Scripts\Deathmatch Server\gamemodes\NPC.pwn(240) : warning 235: public function lacks forward declaration (symbol "OnPlayerClickPlayer")
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


10 Errors.

Reply
#6

all publics of include a_samp dont work with a_npc
remove all a_samp publics
Reply
#7

Removing a_samp ? o_O?!
just add a_npc and get a_samp back
Reply
#8

@Sawalha
It Wont Work!
Reply
#9

Never delete a_samp.

It'll give you errors from what i know.
Reply
#10

oh wait, just noticed that,
first, your file should be inside "npcmodes" folder / directory , not gamemodes or filterscripts
and yea , remove a_samp as ultra said.
but remember, this case happens only with npcmodes! not gm or fss'.
you made a mistake, when you putted it in gamemodes directory.
Reply


Forum Jump:


Users browsing this thread: