18.10.2018, 09:45
Quote:
|
You should use format for both the SendClientMessage like you did for SendClientMessageToAll!
Line 37: Код:
new msg1[400];
format(msg1, sizeof(msg1), "{FF0000}You have killed {FFFF00}%s(%i){FF0000} with a Headshot!", playerName, playerid);
SendClientMessage(issuerid, COLOR_WHITE, msg1);
Код:
new msg2[400];
format(msg2, sizeof(msg2), "{FF0000}You have been killed in a Headshot by {FFFF00}%s(%i)!", otherName, issuerid);
SendClientMessage(playerid, COLOR_WHITE, msg2);
|
just using one new string[400]; should be enough and each time you can format it


