18.05.2011, 23:23
How do I make it so that when a player is banned, it tells who banned the player. I made a custom anti-cheat, so how do I make it so that in the ban, it tells what banned(not the reason)..
new player1;
new string[128];
new adminName[MAX_PLAYER_NAME]; GetPlayerName(playerid,adminName,sizeof(adminName));
new banName[MAX_PLAYER_NAME]; GetPlayerName(player1,banName,sizeof(banName));
format(string,sizeof(string),"%s (%d) Has Been Banned By Administrator %s (%d).",adminName,playerid,banName,player1);
SendClientMessageToAll(COLOR_PINK,string);
BanEx(playerid, "Anti Cheat - Hacks");