18.07.2018, 01:44
I've making a CreateVehicle * PutPlayerInVehicle but When the vehicle spawned the put me in another area... I just want When I press 4 put my in driver vehicle and same as my location.. not another area...
PHP Code:
new Float:x, Float:y, Float:z, Float:a, Ranger1;
Ranger1 = CreateVehicle(599, x, y, z, a, 1, 1, 600000);
LinkVehicleToInterior(Ranger1, GetPlayerInterior(playerid));
SetVehicleVirtualWorld(Ranger1, GetPlayerVirtualWorld(playerid));
PutPlayerInVehicle(playerid, Ranger1, 0);