[Question] How to do SendFormattedMessage in PAWN?
#4

Code that I use is very simple and has only two arguments:
pawn Код:
SendFormattedMessage(playerid, .message = "b");
As you can see, I write a string variable in order to format it (and it's saved in memory), then I call the message (.message = "b") that is sent to the player in such a way. I test the code instantly, it works perfectly in that way, but it doesn't work when I want to do something more... advanced.

ColeMiner, I don't know anything about y_va and don't want to use macros, because I want dynamically saved size of variable. In macro it can be only statically and with typical value "128" or (maybe) little more.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)