25.02.2010, 00:42
Quote:
Originally Posted by keujh
Okay, basically here's what i want to do.
SendClientMessageToAll(0xDEEE20FF, "Has been kicked."); How can i make that like: SendClientMessageToAll(0xDEEE20FF, "The Players Name" " Has been kicked, due to an invalid Roleplay name."); The help is appreciated. |
pawn Код:
new string[128];
new playername[MAX_PLAYER_NAME];
GetPlayerName(playerid, playername, sizeof(playername));
format(string,sizeof(string),"%s Has been kicked, due to an invalid Roleplay name.", playername);
SendClientMessageToAll(0xDEEE20FF, string);