27.02.2011, 03:27
pawn Код:
new KickAndBans = 0;
pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
if (reason == 2) { KickAndBans += 1; }
return 1;
}
pawn Код:
stock DisplayKickAndBans(playerid)
{
new string[64];
format(string, sizeof(string), "There has been %i kick and bans", KickAndBans);
SendClientMessage(playerid, 0xFFFFFFFF, string);
return 1;
}