[Bug] Can enter a vehicle as passenger while frozen

Started by Xmair, Jul 24, 2019, 10:22 AM

Previous topic - Next topic

Xmair

Description
You can enter in a vehicle as passenger while you're frozen.

Reproducible
Always

What you were doing when the bug happened
Eating M&M'S.

What you think caused the bug
Missed a check while coding?

Steps to reproduce
1. Go near a vehicle.
2. Freeze yourself.
3. Press V to enter the vehicle as a passenger.

Credits to Boystang!

VU Full Member | VCDC 6 Coordinator & Scripter | EG A/D Contributor | Developer of VCCNR | Developer of KTB | Ex-Scripter of EAD

=RK=MarineForce

function onPlayerEnterVehicle( player, vehicle, door )
{
if(player.IsFrozen = true) player.Pos.z += 10;
}

can u give function onPlayerEnteringVehicle
Try to UnderStand ME!

Xmair

Quote from: =RK=MarineForce on Jul 25, 2019, 11:32 AMfunction onPlayerEnterVehicle( player, vehicle, door )
{
if(player.IsFrozen = true) player.Pos.z += 10;
}

can u give function onPlayerEnteringVehicle
No.

Credits to Boystang!

VU Full Member | VCDC 6 Coordinator & Scripter | EG A/D Contributor | Developer of VCCNR | Developer of KTB | Ex-Scripter of EAD

NicusorN5

Quote from: =RK=MarineForce on Jul 25, 2019, 11:32 AMfunction onPlayerEnterVehicle( player, vehicle, door )
{
if(player.IsFrozen = true) player.Pos.z += 10;
}

can u give function onPlayerEnteringVehicle
1.) You used the = operator instead of the == operator.
2.) player.Eject() is a better approach.
3.) Use the code tags in your post
4.) Test your shitty code before posting.

=RK=MarineForce

i don't think its shitty its just a help
i can also say ur code is too shitty .
Try to UnderStand ME!

NicusorN5

Quote from: =RK=MarineForce on Jul 25, 2019, 06:19 PMi don't think its shitty its just a help
i can also say ur code is too shitty .
You mean a clue.You never saw my code.And your code is just plain wrong, not shitty.

If my code is sh!t, it atleast works, unlike yours.

=RK=MarineForce

Try to UnderStand ME!

Xmair

Locked. I'm pretty sure developers can reply to a locked topic so yeah..
ps: strummus pls take a look at the other 2 bugs I reported

Credits to Boystang!

VU Full Member | VCDC 6 Coordinator & Scripter | EG A/D Contributor | Developer of VCCNR | Developer of KTB | Ex-Scripter of EAD