Skip to content

Character creator screen after selecting a character

Notifications You must be signed in to change notification settings

altv-crc/crc-create-character

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

[CRC][TS] Select Character

Supported by CRC

Character creation menu that follows the character selection menu.

Requires

Highly recommended to get the extension, for better event handling.

Installation

  1. Create a folder in your src folder called crc-create-character.

  2. Add the TypeScript files from this resource, to that folder.

  3. Modify server.toml and ensure it loads whatever you named the folder.

In the case of the example above it should be crc-create-character.

resources = [ 
    'crc-db',
    'crc-native-menu',
    'crc-instructional-buttons',
    'crc-discord-login',
    'crc-create-character'
    'watch-resources'
]

Your resource structure may vary

Developers

  • Selection will immediately follow the login plugins.
  • A selection event or creation event will be pushed after selection.

Server Events

crc-create-character-finish

This is called after the Appearance data has been written to the Database.

alt.on('crc-create-character-finish', (player: alt.Player, _id: string) => {
    console.log(`Their MongoDB 'characters' document ID is ${_id}`);
})

About

Character creator screen after selecting a character

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published