17.03.2010, 20:00
pawn Код:
if(WantedLevel[playerid] >= 1)
{
new string[128];
new wanted = WantedLevel[playerid];
new sendername[MAX_PLAYER_NAME];
GetPlayerName(playerid, sendername, sizeof(sendername));
if(wanted > 0)
{
switch(reason)
{
case 0:
{
format(string,128, "%s has exit the game and he had %d wanted points. ( Quit )",sendername,wanted);
}
case 1:
{
format(string,128, "%s has exit the game and he had %d wanted points. ( Crash )",sendername,wanted);
}
}
SendTeamMessage(2, 0x00ACB2AA, string);
}
}