21.01.2010, 13:17
pawn Код:
new playername[MAX_PLAYER_NAME];
new string[256];
switch(reason)
{
case 0: format(string, sizeof(string), "%s has left the server. (Timeout)", playername);
case 1: format(string, sizeof(string), "%s has left the server. (Leaving)", playername);
case 2: format(string, sizeof(string), "%s has left the server. (Kicked)", playername);
}
ProxDetector(60.0, playerid, string, COLOR_GREY, COLOR_GREY, COLOR_GREY, COLOR_GREY, COLOR_GREY);
How could i make it say the name?