#1

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

Means that number_format isn't defined...
Reply
#3

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

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

Just remove the number format function and it should compile.
Reply
#6

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

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

error 017: undefined symbol "MainPipeline"

Reply
#8

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


Forum Jump:


Users browsing this thread: 1 Guest(s)