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

That's more of a compile-time allocation than dynamic. Format expects first argument to be non-const, and fmt should be const:
pawn Код:
//Before
stock SendFormattedMessage_(playerid, colour = -1, const string_[] = "", str_ = sizeof(string_), fmat[] = "", {Float, _}:...)
//after
stock SendFormattedMessage_(playerid, colour = -1, string_[] = "", str_ = sizeof(string_), const fmat[] = "", {Float, _}:...)
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)