SendClientMessage
#3

You're formatting 'string', but sending 'string1', that's why.

PHP код:
format(string <<<, sizeof(string) <<<, "{FFFF00}[SERVER] {FFFFFF}Your admin level has been set to {FFFF00}%i {FFFFFF}by {FFFF00}%s"valuepName); 
SendClientMessage(pID, -1string1 <<<); 
There's no need to use two strings at all, just use one (remove string1[128]) and change this:

Код:
SendClientMessage(pID, -1, string1);
to this

Код:
SendClientMessage(pID, -1, string);
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.
Reply


Messages In This Thread
SendClientMessage - by Melktert - 12.04.2017, 12:54
Re: SendClientMessage - by Spoookymon - 12.04.2017, 13:04
Re: SendClientMessage - by 1nspire - 12.04.2017, 13:08

Forum Jump:


Users browsing this thread: 1 Guest(s)