Author Topic: A way to fix bf injection crash when entering  (Read 3316 times)

[RU]Kewun

  • Full Member
  • ***
  • Posts: 124
  • Karma: +11/-21
  • C.R.C Marshal
    • View Profile
A way to fix bf injection crash when entering
« on: September 20, 2015, 08:49:28 pm »
Guys, me and winston have discovered a way, how to fix the 114 bf injection crash with entering, we tried script something and we discovered a thing what fixes that

it works 999999999% !

function onPlayerEnteringVehicle(player, vehicle, seat ) {
   local m = vehicle.Model;
   if( vehicle.Model == 114 ) {
   
   player.Vehicle = vehicle;
}
« Last Edit: September 20, 2015, 08:53:20 pm by [Marshal.C.R.C]Trevor »
Fear the wrath of god!


Ankris

  • Full Member
  • ***
  • Posts: 110
  • Karma: +29/-44
    • View Profile
Re: A way to fix bf injection crash when entering
« Reply #1 on: September 20, 2015, 10:48:09 pm »
This code doesn't 'fix' the crash, just instant-enter to the BF Injection, the best way (i guess, i didn't try yet) is setting again the vehicle flag to NO_DOORS

[RU]Kewun

  • Full Member
  • ***
  • Posts: 124
  • Karma: +11/-21
  • C.R.C Marshal
    • View Profile
Re: A way to fix bf injection crash when entering
« Reply #2 on: September 21, 2015, 01:56:41 pm »
it fixes. You just didnt try the script ; everything for u is wrong.
« Last Edit: September 21, 2015, 01:59:49 pm by [Marshal.C.R.C]Trevor »
Fear the wrath of god!


[RU]Kewun

  • Full Member
  • ***
  • Posts: 124
  • Karma: +11/-21
  • C.R.C Marshal
    • View Profile
Re: A way to fix bf injection crash when entering
« Reply #3 on: September 21, 2015, 02:00:25 pm »
also, i know how to do it same way with exiting

function onPlayerExitingVehicle(player, vehicle ) {
   local m = vehicle.Model;
   if( vehicle.Model == 114 ) {
   
   player.Vehicle = vehicle;
}
Fear the wrath of god!


SugarD

  • Asshat Gaming Founder
  • Tester
  • Sr. Member
  • ****
  • Posts: 820
  • Karma: +37/-75
  • STOP IN THE NAME OF THE COLESLAW!
    • View Profile
    • Clan Xperience
Re: A way to fix bf injection crash when entering
« Reply #4 on: October 11, 2015, 02:22:57 pm »
it fixes. You just didnt try the script ; everything for u is wrong.
There is no need to get hostile.

 

© Liberty Unleashed Team.