Vice City: Multiplayer

VC:MP Discussion => General Discussion => Topic started by: Luis_Labarca on Jul 12, 2016, 05:52 AM

Title: not get out of the vehicle
Post by: Luis_Labarca on Jul 12, 2016, 05:52 AM
I wanted to ask another thing about vehicle


a player can do that if comes to a vehicle can not get out of the vehicle?

use player. PutInVehicleSlot in onPlayerExitVehicle
but see takes a long time to climb back to the vehicle

 There is another way?
:D
Title: Re: not get out of the vehicle
Post by: Xmair on Jul 12, 2016, 06:07 AM
function onPlayerExitVehicle( player, vehicle )
{

player.Vehicle = vehicle;

}
Title: Re: not get out of the vehicle
Post by: EK.IceFlake on Jul 12, 2016, 08:12 AM
What if that b*ch who dared to come out of the one-way vehicle was a passenger?
Title: Re: not get out of the vehicle
Post by: Xmair on Jul 12, 2016, 09:35 AM
Then just add a check to check if a player is the driver.
Title: Re: not get out of the vehicle
Post by: Luis_Labarca on Jul 12, 2016, 02:17 PM
Quote from: ext-d.CrystalBlue on Jul 12, 2016, 08:12 AMWhat if that b*ch who dared to come out of the one-way vehicle was a passenger?
precisely that's what I want than if one out of a vehicle the enquiry back to the slot where it was
Title: Re: not get out of the vehicle
Post by: Luis_Labarca on Jul 12, 2016, 02:18 PM
Quote from: Xmair on Jul 12, 2016, 06:07 AMfunction onPlayerExitVehicle( player, vehicle )
{

player.Vehicle = vehicle;

}

Thanks bro this works but I want to that of the vehicle I send back to the vehicle and the slo where it was
Title: Re: not get out of the vehicle
Post by: Luis_Labarca on Jul 12, 2016, 02:46 PM
Quote from: Xmair on Jul 12, 2016, 06:07 AMfunction onPlayerExitVehicle( player, vehicle )
{

player.Vehicle = vehicle;

}
well I'll use this feature I think it is the best but only serve for the driver I wanted for all the slot but only so let him driver thanks bro
Title: Re: not get out of the vehicle
Post by: Xmair on Jul 13, 2016, 04:47 AM
Well, the one I posted will work for the drive only, just tested that.