SA-MP Forums Archive
[HELP] Warning 235: public function lacks forward declaration (symbol "HideTextDraw") - 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: [HELP] Warning 235: public function lacks forward declaration (symbol "HideTextDraw") (/showthread.php?tid=599011)



[HELP] Warning 235: public function lacks forward declaration (symbol "HideTextDraw") - KONTROWKEN - 19.01.2016

Код:
C:\Users\KONTROWKEN\Desktop\YENİ SERVER\gamemodes\KONT-2016.pwn(8725) : warning 235: public function lacks forward declaration (symbol "HideTextDraw")
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase

1 Warning.
Код:
forward HideTextdraw(playerid);
public HideTextDraw(playerid){
for(new i; i<MAX_PLAYERS; i++)	{
TextDrawHideForPlayer(i,PrevSkinTD[playerid]);
TextDrawHideForPlayer(i,CurSkinTD[playerid]);
TextDrawHideForPlayer(i,NextSkinTD[playerid]);
TextDrawHideForPlayer(i,LeftArrowTD[playerid]);
TextDrawHideForPlayer(i,RightArrowTD[playerid]);
TextDrawHideForPlayer(i,SkinMenuNameTD[playerid]);
TextDrawHideForPlayer(i,SkinMenuCreditsTD[playerid]);
TextDrawHideForPlayer(i,PushToSelectSkinTD[playerid]);}
    return 1;
}



Re: [HELP] Warning 235: public function lacks forward declaration (symbol "HideTextDraw") - AmigaBlizzard - 19.01.2016

forward HideTextDraw(playerid);

You mixed up small and capital letters.
PAWN is case-sensitive for function-names.