i dont see the kick or banned messages why? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP (
https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Client Support (
https://sampforum.blast.hk/forumdisplay.php?fid=16)
+--- Thread: i dont see the kick or banned messages why? (
/showthread.php?tid=439801)
i dont see the kick or banned messages why? -
xF4Life - 26.05.2013
can someone tell me why i dont see the kicked or banned msgs?
Re: i dont see the kick or banned messages why? -
S0n1COwnsYou - 26.05.2013
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;
}
Re: i dont see the kick or banned messages why? -
xF4Life - 27.05.2013
i mean for other server not a script lol
Re: i dont see the kick or banned messages why? -
Deathlane - 27.05.2013
It's because they don't use that code.. If they do, then you will see.
Re: i dont see the kick or banned messages why? -
xF4Life - 27.05.2013
ok thanks