Imperial Characters API & Exports
The ImperialCharacters module allows a FiveM server to create, retrieve, and delete characters or vehicles in ImperialCAD using exports and backend API calls.
⚙️ Setup
setr imperial_community_id "YOUR_COMMUNITY_ID"
set imperialAPI "YOUR_API_SECRET"Config.debug = true📤 Exports & Examples
🔹 NewCharacter(data, callback)
NewCharacter(data, callback)Field
Type
Description
🔹 NewCharacterAdvanced(data, callback)
NewCharacterAdvanced(data, callback)🔹 DeleteCharacter(data, callback)
DeleteCharacter(data, callback)Field
Type
🔹 GetCharacter(charid, commId, callback)
GetCharacter(charid, commId, callback)Param
Type
Description
🔹 GetCharacterAdvanced({ firstname, lastname }, callback)
GetCharacterAdvanced({ firstname, lastname }, callback)Field
Type
🔹 CreateVehicle(data, callback)
CreateVehicle(data, callback)Field
Type
Required
🔹 CreateVehicleAdvanced(data, callback)
CreateVehicleAdvanced(data, callback)🔗 API Reference
Type
Export
API Endpoint
🔐 API Authorization
📎 License
Last updated