SA-MP Forums Archive
Error - 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: Error (/showthread.php?tid=657128)



Error - tobi736 - 01.08.2018

i have an error

Код:
error 017: undefined symbol "number_format"
my code

Код:
CMD:credits(playerid, params[])
{
		new szString[128];
		format(szString, sizeof(szString), "u coins: {FFD700}%s",number_format(pInfo[playerid][pNcoins]));
		SendClientMessageEx(playerid, COLOR_DARKORANGE, szString);
		return 1;
}
i added pncoins and all


Re: Error - Sew_Sumi - 01.08.2018

Means that number_format isn't defined...


Re: Error - Dawkin - 01.08.2018

Edit pNcoins to pCredits
Bạn sửa code credit lаm gм thế ?


Re: Error - tobi736 - 02.08.2018

bro, english pls
is a example code, i add pncoins
but i compiler and have undefined symbol "number_format"


Re: Error - Akeem - 02.08.2018

Just remove the number format function and it should compile.


Re: Error - tobi736 - 02.08.2018

my code show the credits, if i remove i can't see number of credits.


Re: Error - tobi736 - 02.08.2018

i fixed this error, but i have more error
the error
Quote:

error 017: undefined symbol "MainPipeline"




Re: Error - DerickClark - 02.08.2018

It's the same problem. You don't have it defined. I suggest you remove it OR. Add it.