25.10.2014, 15:46
Hello!
I know that you can use
in order to format variables into a client message sent to the player(s).
I'm not that good with stocks and functions, but how could you possibly make a fast way to format AND send the client message at the same time? So i don't have to use format and SendClientMessage over and over again?
let's say this:
Is that possible? And how could you do it?
Thanks
I know that you can use
pawn Код:
format(stringname, length, string[])
I'm not that good with stocks and functions, but how could you possibly make a fast way to format AND send the client message at the same time? So i don't have to use format and SendClientMessage over and over again?
let's say this:
pawn Код:
SendClientMessage2(playerid, -1, "You have $%d in your wallet", GetPlayerMoney(playerid))
Thanks