[Ajuda] Usando GetVehicleParamsCarDoors e SetVehicleParamsCarDoors
#8

Usei como base a funзгo de furar pneus. Nгo testei pq estou incapacitado no momento de fazer teste

PHP код:
new panelsdoorsluzestires;
new 
carid GetPlayerVehicleID(playerid);
GetVehicleDamageStatus(caridpanelsdoorsluzestires);
doors encode_doors(IS_REMOVEDIS_REMOVEDIS_REMOVEDIS_REMOVED);
UpdateVehicleDamageStatus(caridpanelsdoorsluzestires);

encode_doors(doors1doors2doors3doors4)
{
    return 
doors1 | (doors2 << 1) | (doors3 << 2) | (doors4 << 3);

Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)