Liberty Unleashed

Scripting => Scripting Discussion => Topic started by: Hatser on August 30, 2012, 11:29:25 am

Title: Put Player in Vehicle
Post by: Hatser on August 30, 2012, 11:29:25 am
Is there a script that will put player in car if pressed binkdey to spawn car?
Title: Re: Put Player in Vehicle
Post by: Rocky on August 30, 2012, 11:37:51 am
Simply make a bind and edit the vehicle.

Code: [Select]
local veh = FindVehicle( 0 );
player.Pos = veh.pos;
player.EnterVehicle( veh , DOOR_DRIVER );