PivityGmodStore

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.