18.10.2018, 09:22
You should use format for both the SendClientMessage like you did for SendClientMessageToAll!
Line 37:
Line 40:
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);