Jump to content
  • 0

[GF/RP] Problema ...


Question

Posted

Salut care ma poate ajuta si pe mine sa rezolv problema asta?

C:\Documents and Settings\gamemodes\gxb.pwn(3703) : error 017: undefined symbol "FormatMoney"
C:\Documents and Settings\gamemodes\gxb.pwn(3707) : error 017: undefined symbol "FormatMoney"
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.
Linii 3703
format(string, sizeof(string), "La Cosa Nostra member %s pwned Yakuza member %s for %s !", killer, name, FormatMoney(moneys));
linia 3707
format(string, sizeof(string), "Yakuza member %s was pwned by La Cosa Nostra member %s for %s !", name, killer, FormatMoney(moneys));

4 answers to this question

Recommended Posts

Posted

Adauga undeva asta si ca sa-ti apara banii cu . la stats la public ShowStats acolo unde ai Bani Cash / Bani in Banca %d pui %s

stock FormatMoney(Float:amount, delimiter[2]=".")
{
	#define MAX_MONEY_STRING 16
	new txt[MAX_MONEY_STRING];
	format(txt, MAX_MONEY_STRING, "$%d", floatround(amount));
	new l = strlen(txt);
	if (amount < 0)
	{
	    if (l > 5) strins(txt, delimiter, l-3);
		if (l > 8) strins(txt, delimiter, l-6);
		if (l > 11) strins(txt, delimiter, l-9);
	}
	else
	{
		if (l > 4) strins(txt, delimiter, l-3);
		if (l > 7) strins(txt, delimiter, l-6);
		if (l > 10) strins(txt, delimiter, l-9);
	}
	return txt;
}

<a href="http://www.userbars.be"><img src="http://img534.imageshack.us/img534/9098/36589.gif" alt="Free userbars" border="0"></a>

Posted

Pai asta nu e sa apara la /stats e sa apara cand un lcn omoara un ykz sa ii dea bani de la ykz din mana si vreau sa apara cu puncte..

Posted

Adauga la sfarsitul GM-ului

stock FormatMoney(Float:amount, delimiter[2]=",")
{
	new txt[16];
	format(txt, MAX_MONEY_STRING, "$%d", floatround(amount));
	new l = strlen(txt);
	if (amount < 0) // -
	{
	  if (l > 5) strins(txt, delimiter, l-3);
		if (l > 8) strins(txt, delimiter, l-6);
		if (l > 11) strins(txt, delimiter, l-9);
	}
	else
	{
		if (l > 4) strins(txt, delimiter, l-3);
		if (l > 7) strins(txt, delimiter, l-6);
		if (l > 10) strins(txt, delimiter, l-9);
	}
	return txt;
}

i0418xcttya707ofg.jpg

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.