HR_Shaft

Taxi v4 for Phasor v2

Oct 11th, 2013
401
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 19.26 KB | None | 0 0
  1. --[[ ###            Taxi v4 for Phasor v2            ###]]--
  2. --[[ ###      by H® Shaft, AElitePrime & H® BugZ     ###]]--
  3.  
  4. -- Intended to be used as a Persistent Script
  5. -- Version 4: Anti Hog Camping, Hog Spawn, Passenger Weapon, Show Players in Vehicle (type 'whois'), Per-Map Toggle
  6. -- What is Taxi?  A script used in Halo PC servers, running the server application 'Phasor v2' created by Oxide/Urbanyoung.
  7. -- What does it do? If your team are in warthogs, taxi will insert you a seat into one of their hogs.
  8. -- Why use it? Taxi reduces effort & improves teamplay for faster-paced team games with warthogs:
  9.  
  10. -- edit --
  11. taxi_limit = 20             -- | Number of times a player can call taxi during one game.  You can go as high as you want, it won't affect gameplay or lag.
  12. crouch_to_taxi = true       -- | Toggle on/off the crouching taxi call. On = true, Off = false.
  13. text_to_taxi = true         -- | Toggle on/off the typed taxi call. On = true, Off = false.
  14. passenger_taxi = false      -- | Toggle on/off the passenger seat.  If off, the Taxi/Gun Me calls will not use passenger seats. On = true, Off = false.
  15. gunme_active = true         -- | Toggle on/off the typed 'gun me' call which when typed by a player in a vehicle, inserts gunners/passengers. On = true, Off = false.
  16. gunner_damage = false       -- | Toggle on/off damage from a vehicle gunner which has no driver (a.k.a. Hog Camper) If false, they cannot kill without a driver.
  17. hog_limit = 3               -- | Number of times a player can call a hog during one game.
  18. max_time = 2.5              -- | amount of time in seconds before a camper is ejected
  19. call_time = 0.1             -- | minimum of time before timer to eject is initiated
  20.  
  21. -- don't edit --
  22. taxi, calls, crouch, hails, hogs, map_ids, vehicles = {}, {}, {}, {}, {}, {}, {}
  23. crouch_time = 2
  24.  
  25. -- | Toggle on/off script spawn hog on server chat - edit:
  26. hog_spawn = {}
  27. --              Map:                        Boolean:
  28. hog_spawn.      beavercreek         =       false -- battle creek
  29. hog_spawn.      bloodgulch          =       true               
  30. hog_spawn.      boardingaction      =       true               
  31. hog_spawn.      carousel            =       false -- derelict
  32. hog_spawn.      chillout            =       false              
  33. hog_spawn.      damnation           =       false              
  34. hog_spawn.      dangercanyon        =       true               
  35. hog_spawn.      deathisland         =       true           
  36. hog_spawn.      gephyrophobia       =       true               
  37. hog_spawn.      hangemhigh          =       false              
  38. hog_spawn.      icefields           =       true               
  39. hog_spawn.      infinity            =       true               
  40. hog_spawn.      longest             =       false              
  41. hog_spawn.      prisoner            =       false              
  42. hog_spawn.      putput              =       false -- chiron tl34
  43. hog_spawn.      ratrace             =       false              
  44. hog_spawn.      sidewinder          =       true               
  45. hog_spawn.      timberland          =       true               
  46. hog_spawn.      wizard              =       false
  47.  
  48. function GetRequiredVersion()
  49.     return 200
  50. end
  51.  
  52. function OnScriptLoad(process, game, persistent)
  53.     if game == true or game == "PC" then
  54.         GAME = "PC"
  55.         map_name = readstring(0x698F21)
  56.     else
  57.         GAME = "CE"
  58.         map_name = readstring(0x61D151)
  59.     end
  60.     LoadTags()
  61.     for i=0,15 do
  62.         calls[i], hails[i], taxi[i], hogs[i] = 0, 0, {}, 0
  63.         if getplayer(i) then
  64.             local player_obj_id = getplayerobjectid(i)
  65.             if player_obj_id then
  66.                 local m_object = getobject(player_obj_id)
  67.                 if readbyte(m_object + 0x2A0) == 2 then
  68.                     taxi[i].seat = 1
  69.                     taxi[i].vehicle = getobject(readdword(m_object + 0x11C))
  70.                 end
  71.             end
  72.         end
  73.     end
  74.     registertimer(call_time*1000, "ejection")
  75. end
  76.  
  77. function OnNewGame(map)
  78.     if GAME == "PC" then
  79.         map_name = readstring(0x698F21)
  80.     elseif GAME == "CE" then
  81.         map_name = readstring(0x61D151)
  82.     end
  83.     LoadTags() 
  84. end
  85.  
  86. function ejection(id, c)
  87.     for k, v in pairs(vehicles) do
  88.         if vehicles[k] ~= {} then
  89.             for key, value in pairs(vehicles[k]) do
  90.                 if vehicles[k].players and vehicles[k].players ~= {} then
  91.                     vehicles[k].count = (vehicles[k].count or 0) + call_time
  92.                     if vehicles[k].count >= max_time then
  93.                         for i=1, #vehicles[k].players do
  94.                             local player = vehicles[k].players[i]
  95.                             if player and getplayer(player) and isinvehicle(player) then
  96.                                 sendconsoletext(player, "**Taxi** Ejected! Please don't hog camp.")
  97.                                 exitvehicle(player)
  98.                                 if taxi[player].seat == 1 then resetpassenger(player, getobject(getplayerobjectid(player))) end
  99.                             end
  100.                         end
  101.                         vehicles[k] = {}
  102.                     end
  103.                 else
  104.                     vehicles[k] = {}
  105.                 end
  106.             end
  107.         end
  108.     end
  109.     return true
  110. end
  111.  
  112. function OnServerChat(player, type, message)
  113.     local response = nil
  114.     if player then
  115.         if string.lower(message) == "taxi" then
  116.             response = false
  117.             if text_to_taxi then
  118.                 if not isinvehicle(player) then
  119.                     if taxi_limit == false or calls[player] < taxi_limit then
  120.                         if getplayerobjectid(player) then
  121.                             getTaxi(player)
  122.                         else
  123.                             sendconsoletext(player, "**Taxi** You are dead. Try again after you respawn.")
  124.                         end
  125.                     else
  126.                         sendconsoletext(player, "**Taxi** You have reached the max amount of taxi calls for this game.")
  127.                     end
  128.                 else
  129.                     sendconsoletext(player, "**Taxi** You are already in a vehicle.")
  130.                 end
  131.             else
  132.                 sendconsoletext(player, "**Taxi** This feature is currently disabled.")
  133.             end
  134.         elseif string.lower(message) == "gunme" or string.lower(message) == "gun me" then
  135.             response = false
  136.             if gunme_active then
  137.                 if isinvehicle(player) then
  138.                     getWalker(player)
  139.                 else
  140.                     sendconsoletext(player, "**Gun Me** You must be in a vehicle to use this feature.")
  141.                 end
  142.             else
  143.                 sendconsoletext(player, "**Gun Me** This feature is currently disabled.")
  144.             end
  145.         elseif string.lower(message) == "hog" then
  146.             local m_player = getplayer(player)
  147.             if m_player then
  148.                 if hog_spawn[map_name] then
  149.                     if not isinvehicle(player) then
  150.                         local m_player = getplayerobjectid(player)
  151.                         local x,y,z = getobjectcoords(m_player)
  152.                         if not hog_limit or hogs[player] < hog_limit then                      
  153.                             local m_vehicleId = createobject(map_ids[map_name], 0, 15, false, x,y,z+1)
  154.                             entervehicle(player, m_vehicleId, 0)
  155.                             hogs[player] = hogs[player] + 1
  156.                             sendconsoletext(player, "**Hogs** You have " .. hog_limit - hogs[player] .. " hog calls remaining.")
  157.                         else
  158.                             sendconsoletext(player, "**Hogs** You have reached the max amount of hog calls for this game.")
  159.                         end
  160.                     else
  161.                         sendconsoletext(player, "**Hogs** You already have a hog, dumbass.")
  162.                     end
  163.                 else
  164.                     sendconsoletext(player, "**Hogs** That feature has been disabled for this map.")
  165.                 end
  166.             return false
  167.             end
  168.         elseif string.lower(message) == "whois" then
  169.             local m_vehicleId = getplayervehicleid(player)
  170.             if isinvehicle(player) and m_vehicleId then
  171.                 local m_vehicle = getobject(m_vehicleId)
  172.                 local driver = getdriverplayer(m_vehicle)
  173.                 local gunner = getgunnerplayer(m_vehicle)
  174.                 local passenger = getpassengerplayer(m_vehicle)
  175.                 local driver = getdriverplayer(m_vehicle)
  176.                 local gunner = getgunnerplayer(m_vehicle)
  177.                 local passenger = getpassengerplayer(m_vehicle)
  178.                 message_players(driver, gunner, passenger)
  179.             else
  180.                 sendconsoletext(player, "**WhoIs** You must be in a vehicle to use this feature.")
  181.             end
  182.             return false       
  183.         end        
  184.     end
  185.     return response
  186. end
  187.  
  188. function OnPlayerJoin(player)
  189.     calls[player], hails[player], taxi[player], hogs[player] = 0, 0, {}, 0
  190.     announce = registertimer(4000, "timedannounce", player)
  191. end
  192.  
  193. function timedannounce(id, count, player)
  194.     if count == 1 then
  195.         if getplayer(player) then
  196.             if crouch_to_taxi then
  197.                 sendconsoletext(player, "Crouch-Taxi is Enabled.")
  198.             end
  199.             if gunme_active then
  200.                 sendconsoletext(player, "Gun Me is Enabled.")
  201.             end
  202.             sendconsoletext(player, "Pistol Entry is Enabled.") -- was in pistol entry, moved here for convenience
  203.         end
  204.     end
  205.     return true
  206. end
  207.  
  208. function OnGameEnd(stage)
  209.     if stage == 1 then
  210.         if announce then
  211.             removetimer(announce)
  212.             announce = nil
  213.         end
  214.     end
  215. end
  216.  
  217. function OnPlayerLeave(player)
  218.     if taxi[player].vehicle then
  219.         if taxi[player].seat == 1 then writedword(taxi[player].vehicle + 0x32C, 0xFFFFFFFF) end
  220.     end
  221.     --checkplayer(player) -- causes nil error as it cannot read the players vehicle
  222.     taxi[player] = nil
  223. end
  224.  
  225. function OnPlayerKill(killer, victim, mode)
  226.     local m_vehicleId = getplayervehicleid(victim)
  227.     if taxi[victim].seat == 1 then resetpassenger(victim ,getobject(getplayerobjectid(victim))) end
  228.     if victim and isinvehicle(victim) then checkplayer(victim) end
  229.     taxi[victim] = {}
  230. end
  231.  
  232. function OnVehicleEntry(player, m_vehicleId, seat, mapId, relevant)
  233.     taxi[player].seat = seat
  234.     if seat == 1 then
  235.         local player_obj_id = getplayerobjectid(player)
  236.         local m_object = getobject(player_obj_id)
  237.         taxi[player].vehicle = getobject(readdword(m_object + 0x11C))
  238.         if readdword(getobject(m_vehicleId) + 0x324) ~= 0xFFFFFFFF then
  239.             local x,y,z = getobjectcoords(player_obj_id)
  240.             local r = getrandomnumber(0, 11)
  241.             local pass_weap
  242.             if r >= 0 and r <= 4 then
  243.                 pass_weap = createobject(gettagid("weap", "weapons\\rocket launcher\\rocket launcher"), 0, 1, false, x, y, z+1.0)
  244.             elseif r >= 5 and r <= 10 then
  245.                 pass_weap = createobject(gettagid("weap", "weapons\\plasma_cannon\\plasma_cannon"), 0, 1, false, x, y, z+1.0)                          
  246.             end
  247.             if pass_weap then assignweapon(player, pass_weap) end
  248.         end
  249.         registertimer(0, "assignpassenger", {player_obj_id, getobject(m_vehicleId)})   
  250.     end
  251.    
  252.     if seat == 0 then
  253.         vehicles[m_vehicleId] = {}
  254.         registertimer(20, "setnil", m_vehicleId)
  255.     elseif not getdriverplayer(getobject(m_vehicleId)) then
  256.         registertimer(0, "setupseattable", {m_vehicleId, player})
  257.     end
  258.    
  259.     local player_obj_id = getplayerobjectid(player)
  260.     if player_obj_id then
  261.         local m_object = getobject(player_obj_id)
  262.         taxi[player].vehicle = getobject(readdword(m_object + 0x11C))
  263.     end
  264.    
  265.     registertimer(0, "showPlayers", getobject(m_vehicleId))
  266.     return nil
  267. end
  268.  
  269. function OnVehicleEject(player, relevant)
  270.     local m_vehicleId = getplayervehicleid(player)
  271.     if taxi[player].seat == 1 then resetpassenger(player, getobject(getplayerobjectid(player))) end
  272.     checkplayer(player)
  273.     taxi[player] = {}
  274.     return nil
  275. end
  276.  
  277. function showPlayers(id, count, m_vehicle)
  278.     message_players(getdriverplayer(m_vehicle), getgunnerplayer(m_vehicle), getpassengerplayer(m_vehicle))
  279.     return false
  280. end
  281.  
  282. function checkplayer(player)
  283.     local m_vehicleId = getplayervehicleid(player)
  284.     if getdriverplayer(getobject(m_vehicleId)) == player then
  285.         setupdrivertable(m_vehicleId, player)
  286.     end
  287.     return false
  288. end
  289.  
  290. function setupdrivertable(m_vehicleId, driver)
  291.     vehicles[m_vehicleId] = {}
  292.     vehicles[m_vehicleId].players = {}
  293.     vehicles[m_vehicleId].count = 0
  294.     local team = getteam(driver)
  295.     for player=0,15 do
  296.         if getplayer(player) and getteam(player) == team and isinvehicle(player) and getplayervehicleid(player) == m_vehicleId and driver ~= player then
  297.             table.insert(vehicles[m_vehicleId].players, player)
  298.         end
  299.     end
  300. end
  301.  
  302. function setupseattable(id, count, arg)
  303.     local m_vehicleId = arg[1]
  304.     vehicles[m_vehicleId] = {}
  305.     vehicles[m_vehicleId].players = {}
  306.     vehicles[m_vehicleId].count = 0
  307.     local driver = getdriverplayer(getobject(m_vehicleId))
  308.     local team = getteam(arg[2])
  309.     for player=0,15 do
  310.         if getplayer(player) and getteam(player) == team and isinvehicle(player) and getplayervehicleid(player) == m_vehicleId and driver ~= player then
  311.             table.insert(vehicles[m_vehicleId].players, player)
  312.         end
  313.     end
  314.     return false
  315. end
  316.  
  317. function setnil(id, count, m_vehicleId)
  318.     if count >= 20 then return false end
  319.     if vehicles[m_vehicleId] ~= {} then
  320.         vehicles[m_vehicleId] = {}
  321.     end
  322.     return true
  323. end
  324.  
  325. function getplayervehicleid(player) -- returns vehicle object id player is in
  326.     local m_objectId = getplayerobjectid(player)
  327.     if m_objectId then return readdword(getobject(m_objectId) + 0x11C) end
  328. end
  329.  
  330. function getdriverobjid(m_vehicle)
  331.     return readdword(m_vehicle + 0x324)
  332. end
  333.  
  334. function getgunnerobjid(m_vehicle)
  335.     return readdword(m_vehicle + 0x328)
  336. end
  337.  
  338. function getpassengerobjid(m_vehicle)
  339.     return readdword(m_vehicle + 0x32C)
  340. end
  341.  
  342. function getdriverplayer(m_vehicle) -- returns the driver of vehicle
  343.     local obj_id = readdword(m_vehicle + 0x324)
  344.     if obj_id and obj_id ~= 0xFFFFFFFF then return objectidtoplayer(obj_id) end
  345. end
  346.  
  347. function getgunnerplayer(m_vehicle) -- returns the gunner of vehicle
  348.     local obj_id = readdword(m_vehicle + 0x328)
  349.     if obj_id ~= 0xFFFFFFFF then return objectidtoplayer(obj_id) end
  350. end
  351. function getpassengerplayer(m_vehicle)
  352.     local obj_id = getpassengerobjid(m_vehicle)
  353.     if obj_id ~= 0xFFFFFFFF then return objectidtoplayer(obj_id) end
  354. end
  355.  
  356. function message_players(driver, gunner, passenger)
  357.     local t,n = {}, {}
  358.     if driver then
  359.         table.insert(t, driver)
  360.         table.insert(n, "Driver")
  361.     end
  362.     if gunner then
  363.         table.insert(t, gunner)
  364.         table.insert(n, "Gunner")
  365.     end
  366.     if passenger then
  367.         table.insert(t, passenger)
  368.         table.insert(n, "Passenger")
  369.     end
  370.     for k, v in pairs(t) do
  371.         for key, value in pairs(t) do
  372.             if v ~= value then
  373.                 sendconsoletext(v, n[key] .. " : " .. getname(value))
  374.             end
  375.         end
  376.     end
  377. end
  378.  
  379. function OnClientUpdate(player)
  380.     if hails[player] > 0 then hails[player] = hails[player] - 1 end
  381.     if crouch_to_taxi then
  382.         if not isinvehicle(player) then
  383.             local m_objectId = getplayerobjectid(player)
  384.             if m_objectId then
  385.                 local obj_crouch = readbyte(getobject(m_objectId) + 0x2A0)
  386.                 local id = resolveplayer(player)
  387.                 if obj_crouch == 3 and crouch[id] == nil then
  388.                     crouch[id] = OnPlayerCrouch(player)
  389.                 elseif obj_crouch ~= 3 and crouch[id] ~= nil then
  390.                     crouch[id] = nil
  391.                 end
  392.             end
  393.         end
  394.     end
  395. end
  396.  
  397. function OnPlayerCrouch(player)
  398.     if hails[player] == 0 then
  399.         if taxi_limit == false or calls[player] < taxi_limit then
  400.             getTaxi(player)
  401.             hails[player] = (crouch_time*30)
  402.         else
  403.             sendconsoletext(player, "**Taxi** You have reached the max amount of taxi calls for this game.")
  404.         end
  405.     end
  406.     return true
  407. end
  408.  
  409. function assignpassenger(id, count, arg)
  410.     taxi[objectidtoplayer(arg[1])].vehicle = arg[2]
  411.     writedword(arg[2] + 0x32C, arg[1])
  412.     return false
  413. end
  414.  
  415. function checkSpaces(player, team, m_vehicleId)
  416.     local seats = getseats(m_vehicleId)
  417.     if seats > 0 and m_vehicleId then
  418.         for i=0,15 do
  419.             if player ~= i and getplayer(i) and getteam(i) == team and isinvehicle(i) then
  420.                 if getplayervehicleid(i) == m_vehicleId then
  421.                     seats = seats - 1
  422.                 end
  423.             end
  424.         end
  425.     end
  426.     return seats
  427. end
  428.  
  429. function getseats(m_vehicleId) -- return the number of vehicle seats not including the driver
  430.     local name = gettaginfo(readdword(getobject(m_vehicleId)))
  431.     local seats = 0
  432.     if string.find(name, "ghost") or string.find(name, "banshee") or string.find(name, "turret") then
  433.         seats = 0
  434.     elseif string.find(name, "hog") then
  435.         seats = 2
  436.     elseif string.find(name, "scorpion") then
  437.         seats = 4
  438.     end
  439.     return seats
  440. end
  441.  
  442. function getTaxi(player)
  443.     local player2
  444.     for i=0,15 do
  445.         if player ~= i and getplayer(i) and getteam(i) == getteam(player) and isinvehicle(i) and checkSpaces(i, getteam(i), getplayervehicleid(i)) > 0 then
  446.             player2 = i
  447.             break
  448.         end
  449.     end
  450.     if player2 then
  451.         InjectPlayer(player, getplayervehicleid(player2), true)
  452.     else
  453.         sendconsoletext(player, "**Taxi** Sorry no taxi is available at the moment. Please try again later.")
  454.     end
  455. end
  456.  
  457. function getWalker(player)
  458.     local m_vehicleId = getplayervehicleid(player)
  459.     if m_vehicleId then
  460.         if checkSpaces(player, getteam(player), m_vehicleId) > 0 then
  461.             local player2
  462.             for i=0,15 do
  463.                 if player ~= i and getplayer(i) and getteam(i) == getteam(player) and not isinvehicle(i) and getplayerobjectid(i) then
  464.                     player2 = i
  465.                     break
  466.                 end
  467.             end
  468.             if player2 then
  469.                 InjectPlayer(player2, m_vehicleId, false)
  470.             else
  471.                 sendconsoletext(player, "**Gun Me** No teammates, or no available teammates.")
  472.             end
  473.         else
  474.             sendconsoletext(player, "**Gun Me** No available seats in your vehicle.")
  475.         end
  476.     end
  477. end
  478.  
  479. function InjectPlayer(player, m_vehicleId, count)
  480.     local bool = false
  481.     if m_vehicleId then
  482.         local m_vehicle = getobject(m_vehicleId)
  483.         local driver = readdword(m_vehicle + 0x324)
  484.         local gunner = readdword(m_vehicle + 0x328)
  485.         local passenger = readdword(m_vehicle + 0x32C)
  486.         if driver == 0xFFFFFFFF then
  487.             entervehicle(player, m_vehicleId, 0)
  488.             bool = true
  489.         elseif gunner == 0xFFFFFFFF then
  490.             entervehicle(player, m_vehicleId, 2)
  491.             bool = true
  492.         elseif passenger_taxi and (passenger == 0xFFFFFFFF or passenger  == 0) then
  493.             entervehicle(player, m_vehicleId, 1)
  494.             bool = true
  495.         end
  496.         if bool and taxi_limit and count then
  497.             calls[player] = calls[player] + 1
  498.             sendconsoletext(player, "**Taxi** You have " .. taxi_limit - calls[player] .. " taxi calls left.")
  499.         elseif not count then
  500.             sendconsoletext(player, "**Gun Me** You have been put into the vehicle by a teammate.")
  501.         end
  502.     end
  503. end
  504.  
  505. function resetpassenger(player, m_object)
  506.     local tertiary = readdword(m_object + 0x300)
  507.     local quarternary = readdword(m_object + 0x304)
  508.     if tertiary then
  509.         if getobject(tertiary) then
  510.             destroyobject(tertiary)
  511.         end
  512.     end
  513.     if quarternary then
  514.         if getobject(quarternary) then
  515.             destroyobject(quarternary)
  516.         end
  517.     end
  518.     if taxi[player].vehicle then
  519.         writedword(taxi[player].vehicle + 0x32C, 0xFFFFFFFF)
  520.     end
  521. end
  522.  
  523. function OnDamageLookup(receiving, causing, tagid)
  524.     if not gunner_damage and causing then
  525.         local c_player = objectidtoplayer(causing)
  526.         if c_player and isinvehicle(c_player) then
  527.             local m_vehicleId = getplayervehicleid(c_player)
  528.             if m_vehicleId then
  529.                 local m_vehicle = getobject(m_vehicleId)
  530.                 local driver = readdword(m_vehicle + 0x324)
  531.                 local gunner = readdword(m_vehicle + 0x328)
  532.                 if driver == 0xFFFFFFFF and gunner == causing then
  533.                     return false
  534.                 end
  535.             end
  536.         end
  537.     end
  538. end
  539.  
  540. -- sets the default vehicles to spawn on player calling for "hog"
  541. function LoadTags()
  542.     map_ids["beavercreek"] = gettagid("vehi", "vehicles\\rwarthog\\rwarthog")
  543.     map_ids["bloodgulch"] = gettagid("vehi", "vehicles\\rwarthog\\rwarthog")
  544.     map_ids["boardingaction"] = gettagid("vehi", "vehicles\\rwarthog\\rwarthog")
  545.     map_ids["carousel"] = gettagid("vehi", "vehicles\\rwarthog\\rwarthog")
  546.     map_ids["chillout"] = gettagid("vehi", "vehicles\\rwarthog\\rwarthog")
  547.     map_ids["damnation"] = gettagid("vehi", "vehicles\\rwarthog\\rwarthog")
  548.     map_ids["dangercanyon"] = gettagid("vehi", "vehicles\\rwarthog\\rwarthog")
  549.     map_ids["deathisland"] = gettagid("vehi", "vehicles\\rwarthog\\rwarthog")
  550.     map_ids["gephyrophobia"] = gettagid("vehi", "vehicles\\rwarthog\\rwarthog")
  551.     map_ids["hangemhigh"] = gettagid("vehi", "vehicles\\rwarthog\\rwarthog")
  552.     map_ids["icefields"] = gettagid("vehi", "vehicles\\rwarthog\\rwarthog")
  553.     map_ids["infinity"] = gettagid("vehi", "vehicles\\rwarthog\\rwarthog")
  554.     map_ids["longest"] = gettagid("vehi", "vehicles\\rwarthog\\rwarthog")
  555.     map_ids["prisoner"] = gettagid("vehi", "vehicles\\rwarthog\\rwarthog")
  556.     map_ids["putput"] = gettagid("vehi", "vehicles\\rwarthog\\rwarthog")
  557.     map_ids["ratrace"] = gettagid("vehi", "vehicles\\rwarthog\\rwarthog")
  558.     map_ids["sidewinder"] = gettagid("vehi", "vehicles\\rwarthog\\rwarthog")
  559.     map_ids["timberland"] = gettagid("vehi", "vehicles\\rwarthog\\rwarthog")
  560.     map_ids["wizard"] = gettagid("vehi", "vehicles\\rwarthog\\rwarthog")
  561. end
  562.  
  563. -- Created by H® Shaft thank you to Oxide, AelitePrime, Nugget & Wizard.
  564. -- Visit http://halorace.org/forum/index.php?topic=514.0 or
  565. -- Visit http://pastebin.com/u/HR_Shaft for more phasor scripts
Advertisement
Add Comment
Please, Sign In to add comment