14.05.2014, 07:01
Hello all I am creating a server sided money system but I want the money to show in a textdraw something like:
$000004000 not $4000 how can i do this please help this is my Give money stock:
$000004000 not $4000 how can i do this please help this is my Give money stock:
pawn Код:
stock GiveMoney(playerid,money)
{
new str[64];
format(str,sizeof(str),"+$%i",money);
TextDrawSetString(ShowMoneyEarned[playerid],str);
pInfo[playerid][pMoney] += money;
TextDrawShowForPlayer(playerid, ShowMoneyEarned[playerid]);
return 1;
}