Skip to content

StateBag:clearAll()

Parameters

  • shared boolean this means will be shared with everyone

Returns

  • None

Raise

  • error shared was nil or not a boolean

Examples

-- premade ped
ped.state:clearAll(true)