Create Advanced Character

This endpoint allows you to create a character with miscellaneous information.

CreateAdvancedCharacter(data, callback)

POST https://imperialcad.app/api/1.1/wf/createadvancedcharacter


Request Body

Name
Type
Description

users_discordID

string

Discord ID of user

Fname

string

First Name

Mname

string

Middle Name

Lname

string

Last Name

Birthdate

string

Date of Birth

gender

string

Gender

race

string

Race

hairC

string

Hair Color

eyeC

string

Eye Color

height

string

Height

weight

string

Weight

postal

string

Postal

address

string

Street Name

city

string

City

county

string

County

phonenum

string

Phone Number

dlstatus

string

Driver's License Status

citizenid

string

Unique Character ID

licensedetails = [

Name
Type
Description

hasBoatLic

boolean

Has boating license?

hasCDL

boolean

Has commercial driver's license?

CDLNumber

string

Commercial driver's license number

CDLStatus

string

Commercial driver's license status

hasDL

boolean

Has driver's license?

DLNumber

string

Driver's license number

DLStatus

string

Driver's license status

hasFirearmsCertification

boolean

Has Firearms Certifications?

hasFishLic

boolean

Has Fishing License?

hasHuntLic

boolean

Has Hunting License?


exports["ImperialCAD"]:NewCharacterAdvanced({
    Fname = "Jane",
    Mname = "A",
    Lname = "Smith",
    Birthdate = "1990-07-15",
    gender = "Female",
    race = "Hispanic",
    hairC = "Blonde",
    eyeC = "Green",
    height = "5'7",
    weight = "145",
    postal = "404",
    address = "555 Clinton Ave",
    city = "Los Santos",
    county = "Blaine",
    state = "San Andreas",
    phonenum = "5558881212",
    licensedetails = {
      hasBoatLic = false,
      hasCDL = true,
      CDLNumber = "CDL5678",
      CDLStatus = "Valid",
      hasDL = true,
      DLNumber = "D7894561",
      DLStatus = "Valid",
      hasFirearmsCertification = true,
      hasFishLic = true,
      hasHuntLic = true
    },
    misc = {
      missing = false
    }
  }, function(success, res)
    if success then print("Advanced character created!") else print("Failed:", res) end
end)

Last updated

Was this helpful?