16.06.2013, 12:23
When I kick someone from the server, He will get kicked but he can't see the reason why he got kicked. Here's the kick command [not whole command].
What's wrong? Do you need whole command?
pawn Код:
format(string, sizeof(string), ""chat""COLOR_RED" %s %s kicked your from the server [Reason: %s]",GetAdminName(playerid),PlayerName(playerid),reason);
SendClientMessage(targetid,-1,string);
Kick(targetid);
}
else {
SendClientMessage(playerid,-1,""chat""COLOR_BLUE" You don't have admin permission for this");
}
return 1;
}