27.10.2013, 13:37
My BanPlayer stock is
I still didn't tried your code but now will do...
PHP код:
stock BanPlayer(playerid,reason[],admin[])
{
new str[128];
BanEx(playerid,reason);
format(str,sizeof(str),"You have been currently banned from this server.\nUser: %s\nReason: %s\nAdmin %s\n",PlayerName(playerid),reason,admin);
ShowPlayerDialog(playerid,DIALOG_BANNED,DIALOG_STYLE_MSGBOX,"You have been banned!",str,"Leave","");
return 1;
}