Posts: 1,767
	Threads: 124
	Joined: Mar 2010
	
	
 
	
	
		Hey..
What about a Hiding Passanger back from the Drive By mode? After press Key_Horn backs to normal position in the vehicle. It can be very useful and better than exit/enter car.
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 61
	Threads: 2
	Joined: Dec 2010
	
Reputation: 
0
	 
	
	
		It's possible, detect if player is passenger then use GetPlayerSeat then PutPlayerInVehicle again when you press KEY_HORN.
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 2,896
	Threads: 11
	Joined: Sep 2008
	
Reputation: 
0
	 
	
	
		Can't you re-press the button that sent you into drive-by mode to do this?
	
	
	
	
		
	
 
 
	
	
		You can press enter, but then again you can't go into driveby mode again before re-entering the car :P
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 1,767
	Threads: 124
	Joined: Mar 2010
	
	
 
	
	
		
Quote:
| 
					Originally Posted by case 1337:  It's possible, detect if player is passenger then use GetPlayerSeat then PutPlayerInVehicle again when you press KEY_HORN. | 
 A function to get Seat? is.. GetPlayerSeat?
	
 
	
	
	
		
	
 
 
	
	
	
		
	Posts: 1,767
	Threads: 124
	Joined: Mar 2010
	
	
 
	
	
		
Quote:
| 
					Originally Posted by RealCop228  You could always do this: 
pawn Код: public OnPlayerCommandText(playerid, cmdtext[]){
 if(strcmp("/remove", cmdtext, true, 10) == 0)
 {
 SetPVarInt(playerid, "CurrentVehicle", GetPlayerVehicleID(playerid));
 SetPVarInt(playerid, "CurrentVehSeat", GetPlayerVehicleSeat(playerid));
 RemovePlayerFromVehicle(playerid);
 PutPlayerInVehicle(playerid, GetPVarInt(playerid, "CurrentVehicle"), GetPVarInt(playerid, "CurrentVehSeat"));
 return 1;
 }
 return 0;
 }
 | 
 Eh.. try to re-Drive By after do that.