whiplk

[FS] - Visualizar matador

Jun 26th, 2013
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.38 KB | None | 0 0
  1. #include <a_samp>
  2.  
  3. forward SpawnDeath(playerid);
  4.  
  5. public OnPlayerDeath(playerid, killerid, reason)
  6. {
  7.     if (killerid == INVALID_PLAYER_ID) return 0b0;
  8.     TogglePlayerSpectating(playerid, 1);
  9.     PlayerSpectatePlayer(playerid, killerid);
  10.     SetTimerEx("SpawnDeath", 10000, 1, "i", playerid);
  11. }
  12.  
  13. public SpawnDeath(playerid) TogglePlayerSpectating(playerid, 0), SpawnPlayer(playerid);
Advertisement
Add Comment
Please, Sign In to add comment