Ban With Message ?
#6

@ Topic poster:
pawn Код:
forward ban(playerid);
public ban(playerid)
{
    Ban(playerid);
    return 1;
}

KickWithMessage(playerid, message[])
{
    SendClientMessage(playerid, 0xFF4444FF, message);
    SetTimerEx("KickPublic", 1000, 0, "d", playerid);
}
Change it to:

[if] You want to change it to a banex

pawn Код:
forward KickPublic(playerid);
public KickPublic(playerid)
{
    Kick(playerid);

KickWithMessage(playerid, message[])
{
    SendClientMessage(playerid, 0xFF4444FF, message);
    SetTimerEx("ban", 10, 0, "d", playerid);
}
if you are making it for kick:

Change Ban(playerid); to Kick(playerid);
Reply


Messages In This Thread
Ban With Message ? - by Louris - 14.02.2013, 10:33
Re: Ban With Message ? - by Windrush - 14.02.2013, 10:38
Re: Ban With Message ? - by zxc1 - 14.02.2013, 10:56
Re: Ban With Message ? - by Windrush - 14.02.2013, 11:03
Re: Ban With Message ? - by Louris - 14.02.2013, 11:06
Re: Ban With Message ? - by ZayanImran - 14.02.2013, 11:10
Re: Ban With Message ? - by Louris - 14.02.2013, 11:14

Forum Jump:


Users browsing this thread: 1 Guest(s)