Bug Car-jacking
#1

Hello!

Well this is maybe a old bug but it's worth fixing and I don't think it will take up much time.

If a player starts to car-jack another player and when the jacker enters the car (aka player gets out of the car) the car respawns/despawns the player will be removed due to a exception (don't have the code). Well it's really annoying. Maybe if the vehicle despawns and player should return to the default anim without getting removed.

-scotty
Reply
#2

BUMP

Also, I would recommend this:

pawn Код:
OnPlayerEnterVehicle(playerid,vehicleid,type) // type: 0 - normal, 1 - carjacking ...
{
     return 1;
}
//and
OnPlayerExitVehicle(playerid,vehicleid,type) // type: 0 - normal, 1 - carjacking ...
{
     return 1;
}
It would fix the carjacking crash bug.

Opinions?
Reply
#3

Quote:
Originally Posted by scottyishere
Посмотреть сообщение
BUMP

Also, I would recommend this:

pawn Код:
OnPlayerEnterVehicle(playerid,vehicleid,type) // type: 0 - normal, 1 - carjacking ...
{
     return 1;
}
//and
OnPlayerExitVehicle(playerid,vehicleid,type) // type: 0 - normal, 1 - carjacking ...
{
     return 1;
}
Yes, i'd love to be able to tell if its a carjack or not natively.
Reply
#4

Quote:
Originally Posted by scottyishere
Посмотреть сообщение
BUMP

Also, I would recommend this:

pawn Код:
OnPlayerEnterVehicle(playerid,vehicleid,type) // type: 0 - normal, 1 - carjacking ...
{
     return 1;
}
//and
OnPlayerExitVehicle(playerid,vehicleid,type) // type: 0 - normal, 1 - carjacking ...
{
     return 1;
}
It would fix the carjacking crash bug.

Opinions?
Just check is anyone in that vehicle...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)