esx_identity

MLO-uri, interioare, hărți optimizate și asset-uri pentru stream.
Post Reply
User avatar
greenie
Full Member
Full Member
Posts: 4444
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Da

esx_identity

Post by greenie »

A script that allows the player to pick their characters name, gender, height and date of birth. Used by es_extended and esx_multicharacter

Image

Show Identity registration menu
Show the identity registration menu

Example
TriggerEvent("esx_identity:showRegisterIdentity")
Listen to when a player completed the identity registration
Listen to when a player completed the identity registration. Server Only

Arguments

data: table
The information of the registered identity.
data

firstname: string
The first name of the player.
lastname: string
The last name of the player.
dateofbirth: string
The date of birth of the player.
sex: string
The sex of the player. Either m for male or f for female
height: number
The height of the player.
Example
AddEventHandler("esx_identity:completedRegistration", function(source, data)
print("Player with source " .. source .. " has registered their identity. And is called " .. data.firstname .. " " .. data.lastname)
end)
𝑴𝒂𝒚𝒃𝒆 𝒕𝒉𝒆 𝑬𝒂𝒓𝒕𝒉 𝒊𝒔 𝒕𝒉𝒆 𝑯𝒆𝒍𝒍 𝒐𝒇 𝑨𝒏𝒐𝒕𝒉𝒆𝒓 𝑷𝒍𝒂𝒏𝒆𝒕... ☢️

✅ GAZDUIRE JOCURI / VPS / GAZDUIRE WEB / SERVERE DEDICATE - Stock NELIMITAT / Valabil comandati pe https://www.zonek.ro/
Post Reply

Return to “Server Resources”