Kartik Scripts

RSG

๐Ÿ” Replace rsg-multicharacter

Remove or stop rsg-multicharacter. kartik-multicharacter answers the same events rsg-appearance and rsg-spawn use, so the two must not run together.

ensure oxmysql
ensure rsg-core
ensure rsg-appearance
ensure kartik-multicharacter

If players stay on a black screen after joining, rsg-multicharacter is still running.


๐Ÿชž Which creator

Config.Creator.builtinWhat opens for new characters
true (default)The built-in creator, with the registry document. Looks are saved in rsg-appearance's format, so its barbers and clothing shops keep working
falsersg-appearance's own creator. With Config.Creator.registration = true, the registry document is filled in first and rsg-appearance only does the looks

rsg-appearance must be started either way. If the creator doesn't open and the console says rsg-appearance is not started, start it before this resource.


๐ŸŽ’ Starter items

With Config.StarterItems = true, new characters get RSGCore.Shared.StarterItems, like rsg-multicharacter gave them.


๐Ÿšช Logout

/logout sends players straight back to character select. See Logout.


๐Ÿ”Œ Hook for new characters

bridge/custom/server/hooks.lua has OnCharacterCreated(source, citizenid), which runs after a new RSG character is made. Use it to give extra items, money or set up anything else for new players.

On this page