Guest User

(FS) Caixão da Morte www.samp-vicio.net

a guest
Sep 11th, 2014
708
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. /* By DonSpeed */
  2.  
  3.  
  4. #include a_samp
  5.  
  6. new Obj[MAX_PLAYERS],
  7. Float:Pos[MAX_PLAYERS][3];
  8.  
  9. public OnPlayerDeath(playerid, killerid, reason)
  10. {
  11. if(playerid != INVALID_PLAYER_ID) {
  12. GetPlayerPos(playerid, Pos[playerid][0], Pos[playerid][1], Pos[playerid][2]);
  13. Obj[playerid] = CreateObject(2896, Pos[playerid][0], Pos[playerid][1], Pos[playerid][2] -3.0 , 0, 0, 100.0);
  14. SetTimerEx("Destroi", 5000, false, "i", playerid);
  15. }
  16. return 1;
  17. }
  18. forward Destroi(playerid); public Destroi(playerid)return DestroyObject(Obj[playerid]);
Add Comment
Please, Sign In to add comment