PutPlayerInVehicle
#1

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:xFloat:yFloat:zFloat:aRanger1;
                
Ranger1 CreateVehicle(599xyza11600000);
                
LinkVehicleToInterior(Ranger1GetPlayerInterior(playerid));
                
SetVehicleVirtualWorld(Ranger1GetPlayerVirtualWorld(playerid));
                
PutPlayerInVehicle(playeridRanger10); 
Reply
#2

Put that in your code.

PHP Code:
GetPlayerPos(playeridx,y,z); 
Reply
#3

Thank you so much it's worked .
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)