i dont see the kick or banned messages why?
#1

can someone tell me why i dont see the kicked or banned msgs?
Reply
#2

do a delay between the Message and the Kick:

pawn Код:
forward KickPublic(playerid);
public KickPublic(playerid) { Kick(playerid); }
 
stock KickWithMessage(playerid, color, message[])
{
    SendClientMessage(playerid, color, message);
    SetTimerEx("KickPublic", 1000, 0, "d", playerid);   //Delay of 1 second before kicking the player so he recieves the message
}
 
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(strcmp(cmdtext, "/kickme", true) == 0)
    {
        //Kicks the player who the executed this command
        KickWithMessage(playerid, 0xFF0000FF, "You have been kicked.");
        return 1;
    }
    return 0;
}
Reply
#3

i mean for other server not a script lol
Reply
#4

It's because they don't use that code.. If they do, then you will see.
Reply
#5

ok thanks
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)