08.08.2009, 15:17
Oke so i've got this
and this at the bottom
Everything works fine, so if you get shot you spectate that player etc.. But when i suicide like typing /kill, or fall to death, it doesn't respawn, it just looks in the sky without respawning, how can i make it to respawn if their is no killer id?
Quote:
public OnPlayerDeath(playerid, killerid, reason) { TogglePlayerSpectating(playerid, 1); PlayerSpectatePlayer(playerid, killerid); SetTimerEx("StopSpeccing", 10000, false, "i", playerid); |
Quote:
public StopSpeccing(playerid) { TogglePlayerSpectating(playerid, 0); } |