14.10.2013, 14:15
Are you sure PlayerInfo[playerid][pBanka] is 16912? Debug it:
And tell us what it printed to the screen and to the console/server log.
I don't see any other problem, it should work since you change the text using TextDrawSetString.
pawn Код:
printf("PlayerInfo[playerid][pBanka] is %d", PlayerInfo[playerid][pBanka]); // It will print to the console
new MoneyString[10];
format(MoneyString,sizeof(MoneyString), "$%08d", PlayerInfo[playerid][pBanka]);
TextDrawSetString(TDMoney, MoneyString);
TextDrawShowForPlayer(playerid, TDMoney);
I don't see any other problem, it should work since you change the text using TextDrawSetString.

