OnPlayerDeath
#4

OnPlayerDeath
{
Dead[playerid] = true;
}

OnPlayerSpawn
{
if(Dead[playerid] == true)
{
TogglePlayerSpectating(playerid, true);
//The rest of ur code with camera position and timer...
}
}

//Add TogglePlayerSpectating(playerid, false); into your death timer function.
Reply


Messages In This Thread
OnPlayerDeath - by new121 - 23.02.2012, 23:34
Re: OnPlayerDeath - by JhnzRep - 23.02.2012, 23:52
Re: OnPlayerDeath - by new121 - 23.02.2012, 23:58
Re: OnPlayerDeath - by Audiophr3ak - 24.02.2012, 00:16
Re: OnPlayerDeath - by new121 - 24.02.2012, 00:17
Re: OnPlayerDeath - by JhnzRep - 24.02.2012, 00:28
Re: OnPlayerDeath - by clavador - 24.02.2012, 00:32
Re: OnPlayerDeath - by JhnzRep - 24.02.2012, 00:34
Re: OnPlayerDeath - by new121 - 24.02.2012, 01:34

Forum Jump:


Users browsing this thread: 1 Guest(s)