A Problem with my script
#1

Well i have a RP Server and when i kick/ban/or anything that gets him out of game
It wont show him the reason like all the people can see the reason for his kick but he can only see that Server Lost connection
it like Skips a line..
Thanks for your help!
Reply
#2

Read this fully....

https://sampwiki.blast.hk/wiki/Kick
Reply
#3

Код:
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, "/kick", true) == 0)
    {
        KickWithMessage(playerid, COLOR, "You've been kicked.");
        return 1;
    }
    return 0;
}
Reply
#4

Use Emmet_'s KickBan.inc include.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)