25.03.2012, 19:28
Dosent appear in chat... why ?
OnPlayerDisconnect:
Stock:
OnPlayerDisconnect:
Quote:
switch(reason) { case 0: format(String, sizeof String, "%s (ID:%d) Quit (Crash)", NameEx(playerid), playerid); case 1: format(String, sizeof String, "%s (ID:%d) Quit (leaving)", NameEx(playerid), playerid); case 2: { format(String, sizeof String, "%s (ID:%d) quit (kick/Ban)", NameEx(playerid), playerid); PlayCrimeReportForPlayer(playerid, playerid, 3); } } SendClientMessageToAll(-1, String); |
Quote:
stock NameEx(playerid) { new Name[24]; GetPlayerName(playerid, Name, sizeof(Name)); return Name; } |