
Initializing
Secure Protocol Active
Was this page helpful?
| Property | Value |
|---|---|
| Default key | E |
| Configurable | ✅ MBT.GetUpKey in config.lua |
| Rebindable | ✅ Via GTA V keybind settings |
Used while sitting on a chair to stand back up. Automatically registered via RegisterKeyMapping.
When a player looks at any camping prop via ox_target or qb-target, a context menu appears with the following options:
| Option | Appears on | Description |
|---|---|---|
| Move | All props | Enter move mode to reposition the prop |
| Repack Kit | All props | Pack the entire camping setup back into a campkit item |
| Cook | Grill only | Open the cooking menu |
| Sit down | Chairs only | Attempt to sit on the chair |
When in move mode (after clicking "Move" on a prop):
| Key | Action |
|---|---|
↑ ↓ ← → Arrow keys | Move prop horizontally |
Q | Raise prop |
Z | Lower prop |
Numpad 9 | Rotate left |
Numpad 7 | Rotate right |
|
Move mode exits automatically if you walk more than MBT.MaxDistanceMove units away from the prop.
These events are triggered locally and can be listened to by other resources:
| Event | Payload | Description |
|---|---|---|
mbt_camp:campingCreateObjects | — | Spawns all 6 camping props around the player |
mbt_camp:useCampKit | — | Activates the camp deployment flow (same as using the item) |
mbt_camp:moveEntity | { entity } | Enters move mode for a specific prop entity |
mbt_camp:cook |
| Event | Target | Description |
|---|---|---|
mbt_camp:sit | specific player | Tells the client to play the sit animation |
mbt_camp:syncTarget | all clients (-1) | Broadcasts prop network IDs so all players can set up target interactions |
mbt_camp:useCampKit | specific player | Tells the client to deploy the campkit (used by QBCore item handler) |
| Event | Payload | Description |
|---|---|---|
mbt_camp:requestSyncTarget | { tent, fire, chair, chair2, chair3, grill } | Sends prop network IDs to server after spawn |
mbt_camp:tryToSit | { NetId, Coords, SitInfo } | Requests seat reservation for a chair |
|
All server events validate the source automatically via FiveM's network model. Do not call them from untrusted client-side code or external resources unless you control the server.
| Confirm position |
{ entity } |
| Opens the cooking food selection menu |
mbt_camp:attempSit | { entity } | Attempts to sit on a chair |
mbt_camp:deleteKit | { networkId } | Repacks the kit, deletes all props |
{ NetId } |
| Releases the chair reservation when player stands up |
mbt_camp:cookingResult | { Source, ItemName, cookingSuccess } | Sends cooking outcome to server for inventory update |
mbt_camp:deleteObjects | { tent, fire, ... } | Requests deletion of all props and kit return |