FAQ
How do I use my own dispatch
In the server/main.lua change the DispatchHouse
function to use your dispatch resource
How do I use my own lockpick
If you want to use other item or use different logic for lockpick check out our implementation in server/main.lua:76.
How do I implement carry into the houserobberies?
In the server/houseHandler.lua there's a function named OnPlayerRemove
you can then check if the player has anybody carried and remove the other person. Example code:
server/houseHandler.lua:288
function OnPlayerRemove(source, houseId)
local targetSource = GetCarriedPlayer(source) -- dummy function
if(targetSource) then
local house = Houses[houseId]
house.removePlayer(targetSource)
end
end