Bablo ResourcesDocs

Client Exports

Is Mugged

LUA
-- return: bool - true or false if its mugged
-- ped: number - ped entity you want to check if its mugged
local isPedMugged = exports["bablo-pettycrimes"]:isMugged(ped)

Set Mugged

LUA
-- ped: number - target entity that going to change state
-- state: bool - true or false
 
exports["bablo-pettycrimes"]:setMugged(ped, state)

Is Mugging

LUA
-- return: bool - true or false if mugging is in action
 
local isMuggingActive = exports["bablo-pettycrimes"]:isMugged(ped)