Hooks
๐น SERVER
๐ธ CLIENT
๐น๐ธ CarTrunk:OnScriptLoaded()
Called when the script is loaded.
๐น CarTrunk:OnItemStored( pPlayer, eVehicle, sClass, iID )
Called when an item is stored in the car inventory. The ID is used in the inventory table.
The inventory table looks like this
eVehicle.Inventory[ sClass ][ iID ] = tInfos
๐น CarTrunk:OnItemTaken( pPlayer, eVehicle, eEntity )
Called when an item is taken out of the vehicle.