StateBag:get()¶ Parameters¶ state key any Returns¶ the value of the state any Raise¶ error key was nil Examples¶ -- premade ped local name = ped.state:get('name')