13.07.2014, 17:42
Hello all!
Well, I have a system to attach components to the player's modded vehicles, reading the IDs from one file, like:
Well, all work right, except the Sideskirts. They won't attach to vehicle.
Why? Can anyone help me to solve this? Why all components are added, but Sideskirts no?
Thanks all in advance and I apreciate all help!
Well, I have a system to attach components to the player's modded vehicles, reading the IDs from one file, like:
pawn Код:
if(dini_Int(pVeh, "Lights") != -1)
{
AddVehicleComponent(bought_vehicle[playerid], dini_Int(pVeh, "Lights"));
}
pawn Код:
if(dini_Int(pVeh, "Sideskirt") != -1)
{
AddVehicleComponent(bought_vehicle[playerid], dini_Int(pVeh, "Sideskirt"));
}
Thanks all in advance and I apreciate all help!