(2022-01-26, 09:29 PM)Zow Wrote:PHP Code:#define SendErrorMessage(%0, %1) SendClientMessage(%0, COLOR_RED, "
[*]{FFFFFF} "%1)
PHP Code:SendErrorMessage(playerid, const msg[]) {
? ? new
? ? ? ? string[145];
? ? format(string, sizeof(string), "
[*]"C_WHITE" %s", msg);
? ? return SendClientMessage(playerid, COLOR_RED, string);
}
I just want to know how different
PHP Code:
#define SendErrorMessage(%0, %1) SendClientMessage(%0, COLOR_RED, "{FFFFFF} "%1)
I think just because you're using less resources as you don't need to create a variable etc. Marginally better
i like to shitpost. positive vibes :)