LucasViniciusLV

[FilterScript] CamDeath(v1.2) - @ThunderGames

Jun 26th, 2013
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.68 KB | None | 0 0
  1. //Include 'fader' made by Luís Gustavo Miki
  2. //Sistema de DeathCam by: Lucas Vinícius e Will, tempo criação 10 minutos, na public SpawnDeath foi usado tecnicas de operação ternaria e tecnicas binárias;
  3. #include <a_samp>
  4. #include <fader>
  5.  
  6. forward SpawnDeath(playerid);
  7.  
  8. public OnPlayerDeath(playerid, killerid, reason)
  9. {
  10.         if(killerid == INVALID_PLAYER_ID) return 0b0;
  11.         TogglePlayerSpectating(playerid, 1);
  12.         PlayerSpectatePlayer(playerid, killerid);
  13.         SetTimerEx("SpawnDeath", 10000, 1, "i", playerid);
  14.         return 0x01;
  15. }
  16.  
  17. public SpawnDeath(playerid) TogglePlayerSpectating(playerid, 0), fadeIn(playerid, 100, 0x000000FF), SpawnPlayer(playerid);
Advertisement
Add Comment
Please, Sign In to add comment