Quick Qestion on BanEx
#3

Lets say banName is the name of the person being banned, and player1 is the id of the banned player AND, lets say adminName is the person (admin) banning player1 and playerid would be the id of the admin:

pawn Код:
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);
Now just try to put it into the dialog. You can change up some stuff in this code. If you don't understand, let me know.
Reply


Messages In This Thread
Quick Qestion on BanEx - by Snipa - 18.05.2011, 23:23
Re: Quick Qestion on BanEx - by Laronic - 18.05.2011, 23:43
Re: Quick Qestion on BanEx - by grand.Theft.Otto - 19.05.2011, 00:09
Re: Quick Qestion on BanEx - by MadeMan - 19.05.2011, 09:16

Forum Jump:


Users browsing this thread: 2 Guest(s)