SA-MP Forums Archive
Little Problem ... - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Little Problem ... (/showthread.php?tid=213080)



Little Problem ... - Rock18 - 18.01.2011

Hello , i get 1 error and 1 warning when i try to compile my fs and i don't know how to resolve ..\
Error and Warning :
Код:
C:\Documents and Settings\Mureseanu\Desktop\ladmin4v2.pwn(7052) : error 049: invalid line continuation
C:\Documents and Settings\Mureseanu\Desktop\ladmin4v2.pwn(7053) : warning 235: public function lacks forward declaration (symbol "MessageToVip")
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Line 7052 and 7053 :
Код:
Line 7052 : forward MessageToVip(color,const string[]);
Line 7053 : public MessageToVip(color,const string[])
{
	for(new i = 0; i < MAX_PLAYERS; i++)
	{
		if(IsPlayerConnected(i) == 1) if (PlayerInfo[i][Vip] == 1) SendClientMessage(i, color, string);
	}
	return 1;
}



Re: Little Problem ... - JaTochNietDan - 18.01.2011

Sounds like the problem is within another part of your code, since I just compiled that without any problems.


Re: Little Problem ... - Rock18 - 18.01.2011

yeah...but what part ? wanna post all code ?


Re: Little Problem ... - JaTochNietDan - 18.01.2011

Well I don't know, I don't think anyone wants to look through 7,000 lines of code for your error! I think you should look at stuff you've edited recently and see if you've made some sort of syntax error.


Re: Little Problem ... - Rock18 - 18.01.2011

Yes you are right ...i will try to find what's wrong , thanks anyway