Reply To: MAFIA II passenger cars and shooting

Home / Forums / Modders Corner / Mafia Editing / Mafia Mod Request / MAFIA II passenger cars and shooting / Reply To: MAFIA II passenger cars and shooting

Bank Notes: 1,130
November 11, 2011 at 8:27 pm #8581

 

just add the in freeraid_main.sds :

if game.game:GetActivePlayer():GetControlStyleStr()~=”CS_ENABLESHOOTFROMCAR” then game.game:GetActivePlayer():SetControlStyleStr(“CS_ENABLESHOOTFROMCAR”)end

 

that would shoot, press the right mouse button

 

 

So, NO to FreeRideMain.lua …Just create new lua, or something? I dont understand…I copied it here: (under –existenZ34)

 

— eXistenZ34

if game.game:GetActivePlayer():GetControlStyleStr()~=”CS_ENABLESHOOTFROMCAR” then

 

game.game:GetActivePlayer():SetControlStyleStr(“CS_ENABLESHOOTFROMCAR”)end

onGameInit=function(l_1_0)registerForMachineMessages(l_1_0)DelayBuffer:Insert(FRS,

 

{l_1_0},15000,1,false)guid=base.ScriptMachine:getScriptGuid(l_1_0.scriptId)

 

GP,GE,GN,GD,GW,GT,gg,GR,Gg,GH,GG,GS,GX,Gs,GC=game.game:GetActivePlayer

 

(),game.entitywrapper,game.navigation,game.datastore,game.wardrobe,game.traffic,game.gara

 

ge,game.radio,game.game,game.hud,game.gui,game.sds,game.gfx,game.speech,game.cameramanage

 

r

game.datastore:SetNumber(“missionNumber”,100)game.garage:SetMaxGaragePlaces(100)

game.shop:SetAllShopExplored()game.datastore:SetString(“FrancescaStatus”,”Home”)

 

game.datastore:SetString(“JoesFlatStatus”,”Home”)game.datastore:SetString

 

(“VitoA1Status”,”Home”)game.datastore:SetString(“VitoA2Status”,”Home”)

 

game.datastore:SetString(“VitoA3Status”,”Home”)game.datastore:SetString

 

(“VitoB12Status”,”Home”)game.datastore:SetString(“VitoVillaStatus”,”Home”)

 

game.datastore:SetString(“BruskyStatus”,”Opened”)

ekd={{-1535.539,-1550.691,-113.8200,-98.65531, 234.4014, 234.4014,-293.0685,-293.0685,

 

261.0182,-165.0724, 377.0086, 410.6482, 357.1589,-777.3264,-781.2096,-1551.352,-

 

1551.410,-97.81346,-98.19747, 211.8838, 228.9711,-270.6018,-287.8190, 261.0756,-164.9839,

 

377.1431, 412.1321, 357.0980,-778.5112,-781.8716,-1119.052,-1116.592,-37.39670,-

 

372.2113},{-231.0299,-231.0299,-481.7098,-481.7098, 380.9504, 396.1384, 568.3184,

 

553.1269, 44.80871,-582.4669, 1287.126, 1295.103, 1328.546, 520.8449, 520.8449,-

 

253.6134,-236.3236,-459.0746,-476.3673, 396.7033, 396.6559, 552.6564, 552.7559,

 

45.88486,-583.6888, 1288.643, 1295.024, 1327.012, 516.7614, 516.7614, 1376.553, 1376.553,

 

1158.305,-345.8753},{-13.58915,-13.58915,-8.922427,-8.922427,-9.412714,-9.412714,-

 

2.273671,-2.273671,-23.32686,-20.18347, 66.68936, 75.75097, 68.65290,-20.26357,-

 

20.26357,-12.11598,-12.11598,-3.225131,-3.225131,-7.872694,-7.872694,-0.623414,-

 

0.623410,-23.25328,-20.17672, 66.62947, 75.75080, 68.65290,-20.78477,-20.78477,-

 

18.77237,-18.77237, 68.36479,-13.68386},{-3.589151,-3.589151, 1.077473, 1.077473,

 

0.587286, 0.587286, 7.726329, 7.726329,-13.32686,-10.18347, 76.68936, 85.75097,

 

78.65290,-10.26357,-10.26357,-2.115981,-2.115981, 6.774869, 6.774869, 2.127306, 2.127306,

 

9.376596, 9.376596,-13.25328,-10.17672, 76.62947, 85.75080, 78.65290,-10.78477,-

 

10.78477,-8.772371,-8.772371, 78.36479,-3.683861},{0},{0}}

map=

 

{“free_joe_load”,”free_summer_load”,”free_winter_load”,”missionPart”,”dlc_eddie1_assets_l

 

oad”,”dlc_marty4_assets_load”,”fmw_2207_start”,”fmw_2207_end”}

mes={{-1535.49,-1550.67,-500.78,-500.78,-113.72,-98.57,257.33,257.33,-294.06,-294.06,-

 

554.13,-556.60,-1119.06,-1116.53,242.13,242.13},{-214.87,-214.87,20.18,22.67,-497.42,-

 

497.42,380.82,396.08,568.31,553.12,1603.61,1603.61,1366.02,1366.02,386.28,390.36},{-

 

20.33,-20.33,-4.50,-4.50,-15.66,-15.66,-21.63,-21.63,-2.27,-2.27,-20.66,-20.66,-17.57,-

 

17.57,-14.48,-14.48},{0},

 

{“3455000751″,”3455000752″,”3455000753″,”3455000754″,”3455000755″,”3455000756”,”345500075

 

7″,”3455000758″,”3455000759″,”3455000760″,”3455000761″,”3455000752″,”3455000759″,”3455000

 

754″,”3455000757″,”3455000758″}}

opt={{-1304.10,82.58,371.70,-38.85,-1310.13,74.81,369.87,-54.74,-1305.57,66.46,368.68},

 

{990.12,892.26,-290.88,1156.04,986.59,900.51,-286.16,1138.72,1003.42,911.12,-287.98},{-

 

17.33,-13.31,-15.57,68.32,-17.58,-19.53,-15.58,64.66,-18.57,-19.85,-20.16},{0}}

pts={“HotRod-TEXT-1″,”HotRod-TEXT-2″,”HotRod-TEXT-3″,”HotRod-cucky a stin2”,”HotRod-cucky

 

a stin4″,”HotRod-jehly2″,”HotRod-plameny3″,”HotRod-plameny5″,””}

ply=

 

{{“vitnah_t”,”vitspo”,”vitod1neup”,”vittel”,”vitukl”,”vitoveral”,”vitvez”,”vitarmy”,”vitv

 

ov”,”vitvov2i”,”vitvov3″,”vitvop”},

 

{“joespo”,”joeobld2″,”joevez”,”joezml”,”joeneup”,”joebryl”,”joeobd”,”joeup”,”joeobl”,”joe

 

ruka”,”joetel”},

 

{“hen40s”,”franca”,”marty”,”leoobd”,”eddies”,”albert”,”brianc”,”carlo”,”consig”,”derek”,”

 

desmond”,”frank”,”lucca”,”mike”,”panchu”,”steve”,”wong”}}

tel={{ 718.4348, 721.0536, 762.0089, 763.2489, 721.4680, 602.2342, 605.7252,-326.0310,-

 

326.0758,-340.2751,-338.0871, 1226.814, 1225.072,-411.1314, 375.3030,-786.3079,-

 

773.9939,-786.3079,-773.9939, 705.8257, 705.8257, 730.4662, 732.0489, 774.8685,

 

775.5303},{ 1794.951, 1794.998, 1795.988, 1797.709, 1851.679, 1884.481, 1881.635,

 

1102.602, 1105.361, 1118.948, 1118.998, 1273.528, 1273.434,-358.4527, 1319.120, 484.6329,

 

484.6329, 484.6329, 484.6329,-28.31297,-29.70581,-27.69167,-27.69167,-29.45448,-

 

30.94143},{ 33.08253, 32.45067, 32.35377, 33.14997, 40.03624, 39.19361, 39.00067,

 

47.70363, 47.80363, 47.69004, 47.80954, 0.035667, 0.114826,-8.883967, 68.65290,-

 

20.05159,-20.05159, 29.09627, 29.09627,-20.28188,-20.28188,-13.76305,-13.76305,-

 

20.31154,-16.16259},{0}}

tpt={{-1667.75,-1602.50,-1560.47,-1345.82,-1614.74,-1062.71,-566.31,-172.38,-105.63,-

 

374.81,-473.21,-426.74,-136.25,298.10,276.21,479.78,160.14,-584.04,-1152.67,-1079.85,-

 

1540.16,-511.07,-109.11,226.45,-273.31,-556.66,-1079.85,-554.144,-284.86,214.63,-

 

108.98,-511.13,-1539.89},{1088.97,-

 

191.32,110.79,423.27,998.15,1458.85,1581.04,722.64,375.82,476.52,5.51,-301.56,-474.45,-

 

310.54,360.47,734.90,834.32,1602.99,1485.20,1384.61,-250.68,20.14,-