Format text directly into "SendClientMessage" ?
#1

Hello!

I know that you can use
pawn Код:
format(stringname, length, string[])
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:

pawn Код:
SendClientMessage2(playerid, -1, "You have $%d in your wallet", GetPlayerMoney(playerid))
Is that possible? And how could you do it?

Thanks
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)