errors - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: errors (
/showthread.php?tid=643052)
errors -
Chickenmofo - 12.10.2017
i am scripting one gamemode but it says symbol undfined
Код:
C:\Users\ANSH\Desktop\BattleLionV2.pwn(43) : warning 235: public function lacks forward declaration (symbol "OnPlayerConnet")
C:\Users\ANSH\Desktop\BattleLionV2.pwn(52) : error 017: undefined symbol "SetPlayerTeamFromClass"
C:\Users\ANSH\Desktop\BattleLionV2.pwn(55) : warning 203: symbol is never used: "gTeam"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
Re: errors -
Kyle - 12.10.2017
public function lacks forward declaration
^ Means that you have a function but you haven't declared it. So you need to add somewhere: forward public OnPlayerConnet(playerid);
undefined symbol "SetPlayerTeamFromClass" means that you have a variable called that and you have not created the variable.
The last warning means you have a variable called gTeam but you never access / use that variable anywhere within your script.
Re: errors -
Chickenmofo - 12.10.2017
i didnt underst
Re: errors -
Fratello - 12.10.2017
Ah, post the code here.