DISCLAIMER: PLEASE READ CAREFULLY BEFORE BUY
This script is compatible with the FRP Framework in plug n play mode.
Download → Free Version (Escrowed)
Download → Open Source Version (Paid)
I spent a long time developing and refining this character creation/clothing store.
I organized all the components so that the clothing items are separated by color.
After a long period of work, I reached this result in the character creation process. It will be released for free (escrowed) for everyone using the FRP Framework, but to also compensate for all my effort and work in this character creation, I decided to release it as open-source for those who wish to purchase and adapt it to their framework or server.
The open-source version will be paid, and it cannot be distributed in any way on the internet, as this would violate the script licenses and my work; I want to prevent people from taking this code and publicly integrating it into their frameworks, which would completely undermine my work.
Below are photos and a demonstration video of how it works.
Its data-saving structure in the DB is completely different from the conventional methods used by frameworks today; I will leave the structure of the SQL file below.
SQL Code
CREATE TABLE `character_appearance` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`charId` INT(11) NULL DEFAULT NULL,
`isMale` TINYINT(1) NULL DEFAULT '1',
`expressions` LONGTEXT NOT NULL COLLATE 'utf8mb4_bin',
`bodyApparatusId` INT(11) NULL DEFAULT '0',
`bodyApparatusStyleId` INT(11) NULL DEFAULT '0',
`headApparatusId` INT(11) NULL DEFAULT '0',
`teethApparatusStyleId` INT(11) NULL DEFAULT '0',
`eyesApparatusId` INT(11) NULL DEFAULT '0',
`eyesApparatusStyleId` INT(11) NULL DEFAULT '0',
`whistleShape` FLOAT NULL DEFAULT '0',
`whistlePitch` FLOAT NULL DEFAULT '0',
`whistleClarity` FLOAT NULL DEFAULT '0',
`height` TINYINT(3) UNSIGNED NULL DEFAULT '180',
`bodyWeightOufitType` TINYINT(3) UNSIGNED NULL DEFAULT '10',
`bodyKindType` TINYINT(3) UNSIGNED NULL DEFAULT '1',
PRIMARY KEY (`id`) USING BTREE,
UNIQUE INDEX `charId` (`charId`) USING BTREE,
CONSTRAINT `FK_character_appearance_character` FOREIGN KEY (`charId`) REFERENCES `character` (`id`) ON UPDATE CASCADE ON DELETE CASCADE,
CONSTRAINT `expressions` CHECK (json_valid(`expressions`))
)
COLLATE='utf8mb4_general_ci'
ENGINE=InnoDB
AUTO_INCREMENT=1;
CREATE TABLE `character_appearance_customizable` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`charId` INT(11) NULL DEFAULT NULL,
`overridePedModel` VARCHAR(255) NULL DEFAULT NULL COLLATE 'utf8mb4_general_ci',
`overridePedIsMale` TINYINT(1) NULL DEFAULT NULL,
`equippedOutfitId` INT(11) NULL DEFAULT NULL,
`hairApparatusId` INT(11) NOT NULL DEFAULT '0',
`hairApparatusStyleId` INT(11) NOT NULL DEFAULT '0',
`mustacheApparatusId` INT(11) NOT NULL DEFAULT '0',
`mustacheApparatusStyleId` INT(11) NOT NULL DEFAULT '0',
`weightPercentage` FLOAT UNSIGNED ZEROFILL NULL DEFAULT '000000000001',
PRIMARY KEY (`id`) USING BTREE,
UNIQUE INDEX `charId` (`charId`) USING BTREE,
CONSTRAINT `FK_character_appearance_customizable_character` FOREIGN KEY (`charId`) REFERENCES `character` (`id`) ON UPDATE CASCADE ON DELETE CASCADE
)
COLLATE='utf8mb4_general_ci'
ENGINE=InnoDB
AUTO_INCREMENT=1;
CREATE TABLE `character_appearance_overlays` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`charId` INT(11) NULL DEFAULT NULL,
`data` LONGTEXT NULL DEFAULT NULL COLLATE 'utf8mb4_bin',
PRIMARY KEY (`id`) USING BTREE,
UNIQUE INDEX `charId` (`charId`) USING BTREE,
CONSTRAINT `FK_character_appearance_overlays_character` FOREIGN KEY (`charId`) REFERENCES `character` (`id`) ON UPDATE CASCADE ON DELETE CASCADE,
CONSTRAINT `data` CHECK (json_valid(`data`))
)
COLLATE='utf8mb4_general_ci'
ENGINE=InnoDB
AUTO_INCREMENT=1;
CREATE TABLE `character_appearance_overlays_customizable` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`charId` INT(11) NULL DEFAULT NULL,
`hasFacialHair` TINYINT(1) NULL DEFAULT '0',
`headHairStyle` INT(11) NULL DEFAULT NULL,
`headHairOpacity` INT(11) NULL DEFAULT NULL,
`foundationColor` INT(11) NULL DEFAULT NULL,
`foundationOpacity` INT(11) NULL DEFAULT NULL,
`lipstickColor` INT(11) NULL DEFAULT NULL,
`lipstickOpacity` INT(11) NULL DEFAULT NULL,
`facePaintColor` INT(11) NULL DEFAULT NULL,
`facePaintOpacity` INT(11) NULL DEFAULT NULL,
`eyeshadowColor` INT(11) NULL DEFAULT NULL,
`eyeshadowOpacity` INT(11) NULL DEFAULT NULL,
`eyelinerColor` INT(11) NULL DEFAULT NULL,
`eyelinerOpacity` INT(11) NULL DEFAULT NULL,
`eyebrowsStyle` INT(11) NULL DEFAULT NULL,
`eyebrowsColor` INT(11) NULL DEFAULT NULL,
`eyebrowsOpacity` INT(11) NULL DEFAULT NULL,
`blusherStyle` INT(11) NULL DEFAULT NULL,
`blusherColor` INT(11) NULL DEFAULT NULL,
`blusherOpacity` INT(11) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
UNIQUE INDEX `charId` (`charId`) USING BTREE,
CONSTRAINT `FK_character_appearance_overlays_customizable_character` FOREIGN KEY (`charId`) REFERENCES `character` (`id`) ON UPDATE CASCADE ON DELETE CASCADE
)
COLLATE='utf8mb4_general_ci'
ENGINE=InnoDB
AUTO_INCREMENT=1;
CREATE TABLE `character_outfit` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`charId` INT(11) NOT NULL,
`name` LONGTEXT NULL DEFAULT NULL COLLATE 'utf8mb4_general_ci',
`apparels` LONGTEXT NOT NULL COLLATE 'utf8mb4_bin',
PRIMARY KEY (`id`) USING BTREE,
INDEX `charId` (`charId`) USING BTREE,
CONSTRAINT `FK_character_outfit_character` FOREIGN KEY (`charId`) REFERENCES `character` (`id`) ON UPDATE CASCADE ON DELETE CASCADE,
CONSTRAINT `apparels` CHECK (json_valid(`apparels`))
)
COLLATE='utf8mb4_general_ci'
ENGINE=InnoDB
AUTO_INCREMENT=1;
p.s.
If you are interested in adding it to your server on another framework, you will need to purchase the Open Source Version (Paid) to make your own adaptations.
Can you hire me to implement it on your server, I will be available as well, and this will have an additional cost, contact me on dm before buy.
Requeriments
frp_lib
frp_core
frp_creator
frp_spawn_selector
Code is accessible | No |
Subscription-based | No |
Lines (approximately) | + 3000 |
Requirements | FRP Framework |
Support | Yes |