Little help with spectate/respawn
#6

Код:
public OnPlayerDeath(playerid, killerid, reason)

{
    if(killerid == playerid)
    {
    SendClientMessage(playerid, COLORHERE, "You killed yourself");
    SetTimerEx("StopSpeccing", 10000, false, "i", playerid);
    }
    else
    {
    TogglePlayerSpectating(playerid, 1);
    PlayerSpectatePlayer(playerid, killerid);
    SetTimerEx("StopSpeccing", 10000, false, "i", playerid);
}
}
Then do that
Reply


Messages In This Thread
Little help with spectate/respawn - by urkiefly101 - 08.08.2009, 15:17
Re: Little help with spectate/respawn - by urkiefly101 - 08.08.2009, 16:21
Re: Little help with spectate/respawn - by urkiefly101 - 08.08.2009, 17:41
Re: Little help with spectate/respawn - by Paladin - 08.08.2009, 17:56
Re: Little help with spectate/respawn - by TheKingWillem - 08.08.2009, 18:05
Re: Little help with spectate/respawn - by Paladin - 09.08.2009, 09:10
Re: Little help with spectate/respawn - by Woet - 09.08.2009, 09:52

Forum Jump:


Users browsing this thread: 2 Guest(s)