12.04.2017, 13:08
You're formatting 'string', but sending 'string1', that's why.
There's no need to use two strings at all, just use one (remove string1[128]) and change this:
to this
Once the string has been formatted and the message sent to the player 1, you can use the same string with different format and send it again to player 2.
PHP код:
format(string <<<, sizeof(string) <<<, "{FFFF00}[SERVER] {FFFFFF}Your admin level has been set to {FFFF00}%i {FFFFFF}by {FFFF00}%s", value, pName);
SendClientMessage(pID, -1, string1 <<<);
Код:
SendClientMessage(pID, -1, string1);
Код:
SendClientMessage(pID, -1, string);