Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* By DonSpeed */
- #include a_samp
- new Obj[MAX_PLAYERS],
- Float:Pos[MAX_PLAYERS][3];
- public OnPlayerDeath(playerid, killerid, reason)
- {
- if(playerid != INVALID_PLAYER_ID) {
- GetPlayerPos(playerid, Pos[playerid][0], Pos[playerid][1], Pos[playerid][2]);
- Obj[playerid] = CreateObject(2896, Pos[playerid][0], Pos[playerid][1], Pos[playerid][2] -3.0 , 0, 0, 100.0);
- SetTimerEx("Destroi", 5000, false, "i", playerid);
- }
- return 1;
- }
- forward Destroi(playerid); public Destroi(playerid)return DestroyObject(Obj[playerid]);
Add Comment
Please, Sign In to add comment