12.09.2010, 13:15
Hi all,i need a FS.
When a player death,they will spec a random player for 10 seconds..
Thanks
When a player death,they will spec a random player for 10 seconds..
Thanks
new pID = random(MAX_PLAYERS);
TogglePlayerSpectating(playerid, 1);
PlayerSpectatePlayer(playerid, pID);
// start a timer with no repeat that starts after 10 sec's.
now
TogglePlayerSpectating(playerid, 0);
// spawn the player