01.01.2012, 03:09
hi,
when i ban a player like this i want that he sees the client message first before he gets banned from the server.
But he gets banned and the message doesnt appear anymore for the banned player, why?
when i ban a player like this i want that he sees the client message first before he gets banned from the server.
But he gets banned and the message doesnt appear anymore for the banned player, why?
pawn Код:
//this message he doesnt see anymore cause he gets banned as u can see further in this code but why, as it comes before ban?
SendClientMessage(playerid,0xFF0000FF,"This account has been banned! For more information visit our website:");
new string[128];
format(string,sizeof(string),"%s has been banned due ban evading",pname);
SendClientMessageToAll(0xFF0000FF,string);
new query[256];
format(query, sizeof(query), "INSERT INTO `Ban` (banned) VALUES('%s')",pname);
mysql_query(query);
BanEx(playerid,"Ban Evader");

