SA-MP Forums Archive
Hi, I got a problem. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Hi, I got a problem. (/showthread.php?tid=498720)



Hi, I got a problem. - TheKevo - 04.03.2014

Hi Whenever I log on to my server my player is not spawning (sometimes not all the time) and I have to /q and relog to server. Please help me.

Reward - +1 rep.


Re: Hi, I got a problem. - TheKevo - 04.03.2014

How can I set a timer before kicks or ban so player can get message?

Reward - +1 rep


Re: Hi, I got a problem. - EliteApple - 04.03.2014

https://sampwiki.blast.hk/wiki/SpawnPlayer -


Re: Hi, I got a problem. - VenomMancer - 04.03.2014

Quote:
Originally Posted by TheKevo
Посмотреть сообщение
How can I set a timer before kicks or ban so player can get message?

Reward - +1 rep
This exmple :

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    if(GetPlayerState(killerid) == PLAYER_STATE_DRIVER || GetPlayerState(killerid) == PLAYER_STATE_PASSENGER )
    {
        SetTimerEx("playerkick", 1000, 0, "i", killerid); // This make delay before kick
    }

    return 1;
}

forward playerkick(playerid);
public playerkick(playerid)
{
    Kick(playerid);
    return 1;
}