Character

Server functions that are in some way related to the character aspects.

Wosa.Character.AddLicensePoints(
    user --[[ int ]],
    points --[[ int ]]
)

--[[

Parameters:
-> user: The PlayerID of the user.
-> points: The amount of points you want to add.

Description:
Use this function to give "driving license points" to a user manually.

--]]
local character = Wosa.Character.Data(
    user --[[ int ]]
)

--[[

Parameters:
-> user: The PlayerID of the user.

Returnal:
-> character : table
				firstname : string
				middlename = : string
				lastname = : string
				day = : string
				month =  : string
				year = : int
				gender = : string
				phone_number : string
				driver_license : bool
				truck_license : bool
				air_license : bool
				boat_license : bool
				firearm_license : string
				job : string

Description:
This function is useful for getting "character" classed data, Gets data from the
live library from the framework.

Example:
local firstname = Wosa.Character.Data(user).firstname

print('My character firstname is '..firstname..'!')

--]]

Last updated

Was this helpful?