23.10.2015, 14:31
It is very easy. Firstly, get all the required functions i.e GetPlayerIp and all. Put them all in a format like the example given below:
This is just an example of the code!
Код:
new string[128 + MAX_PLAYER_NAME], pName[MAX_PLAYER_NAME], ip[20]; GetPlayerIp(playerid, ip, sizeof(ip)); GetPlayerName(playerid, pName, sizeof(pName)); format(string, sizeof(string), "You are banned from this server! \n Your IP: %i \n Your Name: %s", ip, pName); ShowPlayerDialog(playerid, 32, DIALOG_STYLE_MSGBOX, "Ban Notice", string, "Ok", "");