First ever thing ive done that has worked! So simple
Most credit to OJ Simpson for the code ( All i did was copy and paste and add a number 2!)
Most credit to OJ Simpson for the code ( All i did was copy and paste and add a number 2!)
PHP Code:
-- USER TEST SCRIPT
--dlc hack by OJ Simpson
function GenericDLCManager:has_dlc( dlc )
if dlc == "cce" then
dlc = "career_criminal_edition"
end
return true
end
--Gage Pack 2 DLC weapons unlock
function GenericDLCManager:has_gage_pack_2()
return true
end
--Gage Pack DLC weapons unlock
function GenericDLCManager:has_gage_pack()
return true
end
--Armored Transport DLC weapons unlock
function GenericDLCManager:has_armored_transport()
return true
end
--Community DLC weapons unlock
function GenericDLCManager:has_pd2_clan()
return true
end
--Christmas DLC unlock
function GenericDLCManager:has_xmas_soundtrack()
return true
end
--Buy Any Asset Hack by OJ Simpson
function AssetsItem:_return_asset_info( i )
local asset_cost = nil
if self._asset_locked[i] then
local can_unlock = true
if( ( Network:is_server() or managers.assets.ALLOW_CLIENTS_UNLOCK ) and can_unlock ) then
asset_cost = managers.money:get_mission_asset_cost_by_id( self._assets_names[i][4] )
else
asset_cost = true
end
end
return i, asset_cost
end
--DLC DRM Structure Override
for dlc_name, dlc_data in pairs( Global.dlc_manager.all_dlc_data ) do
dlc_name = { app_id = "218620", no_install = true }
end
Aucun commentaire:
Enregistrer un commentaire