vehicle explodes
#1

hello,

I have a little problem when I get into a vehicle does it matter if he become on fire and explodes, I see no problem or just ..

Thank you for explanations and helps future.

Sincerely,
Drek.
Reply
#2

I don't know what you're asking.
Reply
#3

It's simple whenever someone enters a vehicle, the vehicle that destroyed (in fire and exploded thereafter)
Reply
#4

Give me your "public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)".
Reply
#5

Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    if(IsPlayerNPC(playerid))
    {
        return 1;
    }
   	new Float:health = Vehicule[vehicleid][v_Health];
 	SetVehicleHealth(vehicleid, health);
    return 1;
}
Reply
#6

Up please...
Reply
#7

Did you save vehicules health on your "OnPlayerExitVehicle" ?


PS : Darek ?
Reply
#8

No, I do not save the life of the vehicle when exiting the players.

ps: No
Reply
#9

pawn Код:
new Float:health = Vehicule[vehicleid][v_Health];
    SetVehicleHealth(vehicleid, health);
Why did you use this ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)