banmode
#3

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:

Код:
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", "");
This is just an example of the code!
Reply


Messages In This Thread
banmode - by Rafaeloo - 23.10.2015, 12:31
Re: banmode - by Rafaeloo - 23.10.2015, 12:41
Re: banmode - by Karan007 - 23.10.2015, 14:31
Re: banmode - by PrO.GameR - 23.10.2015, 22:55

Forum Jump:


Users browsing this thread: 1 Guest(s)