Files
fivem-mcp/resources/views/mcp/qbcore-event-reference.blade.php
T
Adrian Mejias 379d6d3d2a Add QBCore event and function tools with documentation and tests
- Implement GetQBCoreEventReference tool to retrieve QBCore event information.
- Implement GetQBCoreFunction tool to look up QBCore functions and exports.
- Enhance SearchFiveMDocs to include QBCore documentation links.
- Create Blade views for displaying QBCore events and function details.
- Add tests for GetQBCoreEventReference and GetQBCoreFunction tools to ensure functionality and error handling.
2026-03-01 01:07:48 -06:00

36 lines
654 B
PHP

# QBCore Event Reference
## {{ $event['name'] }}
**Category:** {{ $event['category'] }}
**Side:** {{ ucfirst($event['side']) }}
### Description
{{ $event['description'] }}
### Parameters
@if(count($event['parameters']) > 0)
@foreach($event['parameters'] as $param)
- **{{ $param['name'] }}** ({{ $param['type'] }}): {{ $param['description'] }}
@endforeach
@else
This event takes no parameters.
@endif
### Code Examples
**Lua:**
```lua
{{ $event['lua_example'] }}
```
**JavaScript:**
```javascript
{{ $event['js_example'] }}
```
@if(isset($event['documentation']))
### Documentation
[View at docs.qbcore.org]({{ $event['documentation'] }})
@endif