05.06.2015, 10:17
pawn Code:
LockGangVehicle(family, carid, type)
{
if (!GetVehicleModel(carid)) return 0;
new v = GetGangVehicle(family, carid);
if(FamilyVehicleInfo[family][v][fvId] == carid && type == 2)
{
LockStatus[carid] = 1;
vehicle_lock_doors(carid);
}
return 1;
}