[+REP] OnEnterExitModShop Problem
#1

Not update Damage Status for vehicle.
Not Set Health Vehicle correctly.
Код HTML:
public OnEnterExitModShop(playerid, enterexit, interiorid)
{
    new veh = GetPlayerVehicleID(playerid);
    new panels, doorss, lightss, tires;
    if(enterexit == 1)
    {
        GetVehicleDamageStatus(veh, panels, doorss, lightss, tires);
        GetVehicleHealth(veh, healthh);
    }
    if(enterexit == 0)
    {
        UpdateVehicleDamageStatus(veh, panels, doorss, lightss, tires);
        SetVehicleHealth(veh, healthh);
    }
    return 1;
}
Reply


Messages In This Thread
[+REP] OnEnterExitModShop Problem - by norton2 - 24.05.2015, 09:51
Re: [+REP] OnEnterExitModShop Problem - by Bingo - 24.05.2015, 10:13
Re: [+REP] OnEnterExitModShop Problem - by norton2 - 24.05.2015, 10:18
Re: [+REP] OnEnterExitModShop Problem - by Yashas - 24.05.2015, 10:30
Re: [+REP] OnEnterExitModShop Problem - by norton2 - 24.05.2015, 10:44
Re: [+REP] OnEnterExitModShop Problem - by Yashas - 24.05.2015, 10:51

Forum Jump:


Users browsing this thread: 1 Guest(s)