errors
#1

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.
Reply
#2

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.
Reply
#3

i didnt underst
Reply
#4

Ah, post the code here.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)