not get out of the vehicle

Started by Luis_Labarca, Jul 12, 2016, 05:52 AM

Previous topic - Next topic

Luis_Labarca

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
My server RP
IP: 51.222.28.159:8194

Xmair

function onPlayerExitVehicle( player, vehicle )
{

player.Vehicle = vehicle;

}

Credits to Boystang!

VU Full Member | VCDC 6 Coordinator & Scripter | EG A/D Contributor | Developer of VCCNR | Developer of KTB | Ex-Scripter of EAD

EK.IceFlake

What if that b*ch who dared to come out of the one-way vehicle was a passenger?

Xmair

Then just add a check to check if a player is the driver.

Credits to Boystang!

VU Full Member | VCDC 6 Coordinator & Scripter | EG A/D Contributor | Developer of VCCNR | Developer of KTB | Ex-Scripter of EAD

Luis_Labarca

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
My server RP
IP: 51.222.28.159:8194

Luis_Labarca

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
My server RP
IP: 51.222.28.159:8194

Luis_Labarca

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
My server RP
IP: 51.222.28.159:8194

Xmair

Well, the one I posted will work for the drive only, just tested that.

Credits to Boystang!

VU Full Member | VCDC 6 Coordinator & Scripter | EG A/D Contributor | Developer of VCCNR | Developer of KTB | Ex-Scripter of EAD