SA-MP Forums Archive
Help please - 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 please (/showthread.php?tid=291851)



Help please - Trucker[UK] - 21.10.2011

Hey

I get this error when i try to compile my gamemode

Код:
C:\Users\Brandon\Desktop\PPC_Trucking.pwn(222) : error 021: symbol already defined: "format"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
and here is the line

Код:
	    format(string,sizeof(string),""lgreen"Welcome back, "lyellow2"%s"lgreen"! Please enter your "lred"password "lgreen"to log in!",GetPName(playerid));



Re: Help please - SmiT - 21.10.2011

This error is usually caused by having the code outside a function. Mind showing above and below this line?


Re: Help please - Trucker[UK] - 21.10.2011

} this is above it