How to set this textdraw string?
#8

Quote:
Originally Posted by Vince
Посмотреть сообщение
Wow, I though this would be common knowledge by now. There is absolutely NO need for extensive functions. The only thing you need is:
pawn Код:
format(str,sizeof(str),"+$%09d",money);
Where the 9 tells it to make it 9 characters long and pad it with 0's if it isn't.
TIL. I never know about this thing, thanks!
Reply


Messages In This Thread
How to set this textdraw string? - by HitterHitman - 14.05.2014, 07:01
Re: How to set this textdraw string? - by Lynn - 14.05.2014, 07:09
Re: How to set this textdraw string? - by HitterHitman - 14.05.2014, 07:16
Re: How to set this textdraw string? - by Lynn - 14.05.2014, 07:19
Re: How to set this textdraw string? - by iZN - 14.05.2014, 07:43
Re: How to set this textdraw string? - by HitterHitman - 14.05.2014, 08:46
Re: How to set this textdraw string? - by Vince - 14.05.2014, 08:55
Re: How to set this textdraw string? - by iZN - 14.05.2014, 09:16

Forum Jump:


Users browsing this thread: 2 Guest(s)