ποΈStash Houses
Inspired from the Stash House raids on GTA online, I spent 4-5 days doing my best to recreate it as close to online as possible with utilizing some more modern features that you see in FiveM today.
Client
local success = exports.randol_stashhouses:GetLocation()
print(success) -- returns booleanif LocalPlayer.state.inStashHouse then
return -- Return and don't execute the rest of the code.
endServer
local src = source
if Player(src).state.inStashHouse then
print('Inside stash house')
endLast updated