Player controls 2 vehicles simultaneously
#1

This bug makes a player control 2 vehicles simultaneously on the other players' screens. For the player who's driving everything's working fine.

I just create a vehicle near the player (who's sitting in a vehicle as the driver) and teleport him in the created vehicle directly with PutPlayerInVehicle function.
pawn Код:
new vehicleid = CreateVehicle();
PutPlayerInVehicle(playerid, vehicleid, 0);
Reply
#2

Usefull for AttachVehicleToVehicle ! Many thanks for the tips
Reply
#3

Quote:
Originally Posted by Vukilore
Посмотреть сообщение
Usefull for AttachVehicleToVehicle ! Many thanks for the tips
I don't think it can be used for that purpose.
Reply
#4

I've never seen a player controlling two different vehicles. But I know if you use this when a player is already in another vehicle, others will see an empty vehicle driving.
Reply
#5

Quote:
Originally Posted by -Danny-
Посмотреть сообщение
I've never seen a player controlling two different vehicles. But I know if you use this when a player is already in another vehicle, others will see an empty vehicle driving.
That empty vehicle is following the player's controls thus making the player control 2 vehicles at the same time, just not on his/her own screen.
Reply
#6

Confirmed, Its anoying..
Reply
#7

Confirmed.

If you use SetPlayerPos and set their position to their current x, y, z before using PutPlayerInVehicle, it prevents the bug.
Reply
#8

I know it..And this helps me make fun! xD
Reply
#9

Old bugs, it's easy fixable. First time eject the player from old vehicle, then put in the new one, or simple don't allow him to spawn a vehicle while he is in another vehicle.
Reply
#10

You don't need to tell me how to get around the bug, I am not an idiot (well, not that big idiot). I reported the bug, because it's a bug, not because I cannot get around it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)