16.05.2013, 13:05
No it is in OnPlayerText.
This is the only thing I got that has "name"
This is the only thing I got that has "name"
pawn Код:
new Name[30], Msg[128];
APlayerData[playerid][BanTime] = 2147483640;
SendClientMessage(playerid, 0x808080FF, "You have been banned! - Reason: Attempted to advertise!");
Kick(playerid);
GetPlayerName(playerid, Name, sizeof(Name));
format(Msg, 128, "{FF0000}%s {FF0000}has been banned from the server - Reason: Attempted to advertise", Name);
SendClientMessageToAll(0xFF0000FF, Msg);