23.04.2014, 17:07
thats because when u do the function "Kick(playerid)" it is placed at top priority and is executed first so dialog dont show up
so solution is timer---
so solution is timer---
pawn Код:
forward KickPlayer(playerid);//on top
KickPlayer(playerid)//on top
{
Kick(playerid);
return 1;
}
/*================================*/
SetTimerEx("KickPlayer",100,false,"i",playerid);//in ban/kick command after the ShowDialogLine