16.12.2009, 22:06
How do i get All players online..
Then use them into a value amount?
like..
10 players = $10000
9 players = $9000
19 players = $19000..
So then i can use it in a GivePlayerMoney(playerid, money);
And also a format string..
format(string, sizeof(string), "[SERVER]: What Is %d%s%d%s%d? - Type /answer to answer this question! Worth %d score and $d!", number1, addsubtext1, number2, addsubtext2, number3, score, money);
So how can i do this?
Then use them into a value amount?
like..
10 players = $10000
9 players = $9000
19 players = $19000..
So then i can use it in a GivePlayerMoney(playerid, money);
And also a format string..
format(string, sizeof(string), "[SERVER]: What Is %d%s%d%s%d? - Type /answer to answer this question! Worth %d score and $d!", number1, addsubtext1, number2, addsubtext2, number3, score, money);
So how can i do this?