SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 18/07/2018, 01:44 AM   #1
Man43
Huge Clucker
 
Man43's Avatar
 
Join Date: Feb 2017
Posts: 250
Reputation: 0
Default PutPlayerInVehicle

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); 
Man43 is offline   Reply With Quote
Old 18/07/2018, 01:55 AM   #2
RedRex
Huge Clucker
 
RedRex's Avatar
 
Join Date: Jan 2016
Location: Portugal <3
Posts: 492
Reputation: 29
Default Re: PutPlayerInVehicle

Put that in your code.

PHP Code:
GetPlayerPos(playeridx,y,z); 
__________________
RedRex's Cops and Robbers
RCNR Soon
We are working on it. Just wait us!! Soon updating to hosted tap after finished.
RedRex is offline   Reply With Quote
Old 18/07/2018, 04:38 AM   #3
Man43
Huge Clucker
 
Man43's Avatar
 
Join Date: Feb 2017
Posts: 250
Reputation: 0
Default Re: PutPlayerInVehicle

Thank you so much it's worked .
Man43 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
PutPlayerInVehicle Louris Scripting Help 0 18/02/2013 04:50 AM
[BUG] PutPlayerInVehicle - Lukas! Scripting Help 5 09/01/2013 04:21 PM
PutPlayerInVehicle fix? BaubaS Scripting Help 2 15/12/2012 09:08 AM
PutPlayerInVehicle iTorran Scripting Help 29 05/04/2012 10:35 AM
I look for help for PutPlayerInVehicle. Join7 Scripting Help 19 15/11/2011 05:01 PM


All times are GMT. The time now is 06:52 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.