Liberty Unleashed

Scripting => Script Releases => Topic started by: [RU]Kewun on September 20, 2015, 07:49:28 pm

Title: A way to fix bf injection crash when entering
Post by: [RU]Kewun on September 20, 2015, 07: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;
}
Title: Re: A way to fix bf injection crash when entering
Post by: Ankris on September 20, 2015, 09: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
Title: Re: A way to fix bf injection crash when entering
Post by: [RU]Kewun on September 21, 2015, 12:56:41 pm
it fixes. You just didnt try the script ; everything for u is wrong.
Title: Re: A way to fix bf injection crash when entering
Post by: [RU]Kewun on September 21, 2015, 01: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;
}
Title: Re: A way to fix bf injection crash when entering
Post by: SugarD on October 11, 2015, 01:22:57 pm
it fixes. You just didnt try the script ; everything for u is wrong.
There is no need to get hostile.