- resurrection script function Vehicle_OnDeath(victim, killer, itemid) local vid = victim:getVehicle():vehicletypeid() local c = victim:coords() local kid = killer:getVehicle():vehicletypeid() local oldvid = victim:getStat(1) --Shockpad Eurpa, not sure which teams they are and if this is correct, please verify if ((itemid == 1025) and ((kid == 103) or (kid == 100) or (kid == 109) or (kid == 107) or (kid == 106) or (kid == 105)) and (vid == 118)) then if (oldvid == 103) or (oldvid == 100) or (oldvid == 109) or ((oldvid >= 105) and (oldvid <= 107)) then victim:setStat(1, oldvid) end elseif ((itemid == 1025) and ((kid == 113) or (kid == 112) or (kid == 116) or (kid == 117) or (kid == 115) or (kid == 12)) and (vid == 118)) then if (oldvid == 113) or (oldvid == 112) or ((oldvid >= 115) and (oldvid <= 117)) or (oldvid == 12) then victim:setStat(1, oldvid) end ---death timer respawn, you will need to change timerexplosion to a number elseif (itemid == timerexplosion) then if (oldvid == 113) or (oldvid == 112) or ((oldvid >= 115) and (oldvid <= 117)) then victim:warp(6000, 2448, 50) victim:setVehicle(oldvid) victim:clearStats(1) elseif (oldvid == 12) -- WARP TO 5000 ?!?!? SHOULD THIS BE 6000? then victim:warp(5000, 2448, 50) victim:setVehicle(oldvid) victim:clearStats(1) elseif (oldvid == 103) or (oldvid == 100) or (oldvid == 109) or ((oldvid >= 105) and (oldvid <= 107)) then victim:warp(14976, 2448, 50) victim:setVehicle(oldvid) victim:clearStats(1) end -- if player dies and not corpse vehicle elseif ((vid == 113) or (vid == 112) or (vid == 116) or (vid == 117) or (vid == 115) or (vid == 12) or (vid == 103) or (vid == 100) or (vid == 109) or (vid == 107) or (vid == 106) or (vid == 105)) then victim:warp(c.x, c.y, 0) victim:setVehicle(118) g_arena:explosion_create("Corpse detector", c.x, c.y) end