textdraw random amount
#1

how to change text in a textdraw to random number?

i have

pawn Код:
new Text:Test1;
GameModeInIt
pawn Код:
new money1 = random(5000);
new money2 = random(5000);
new money3 = random(5000);

Test1 = TextDrawCreate(200.000000,215.000000,"$ %s~n~$ %s~n~ %s", money1, money2, money3);
i know this is not right but not sure how to make it work

i trying to make those %s be changeable by a random somewhere else, or like, the amount thats already there + random amount

can someone please help me get started
Reply


Messages In This Thread
textdraw random amount - by happyface - 19.06.2009, 16:18
Re: textdraw random amount - by yom - 19.06.2009, 16:20
Re: textdraw random amount - by HuRRiCaNe - 19.06.2009, 16:22

Forum Jump:


Users browsing this thread: 1 Guest(s)