Ajouter un skin

Bonjour,
j’aimerais ajouter ce skin :
https://fr.gta5-mods.com/player/dante-brother-child-skin

Voici comment j’ai voulu configurer.
Fichie resource :
/resources/[maps]/enfant/stream

Dans le fichier stream il y a : Dante.ydd/yft/ymt/ytd
Dans le fichier enfant il y a : __resource.lua et peds.meta

Mon server.cfg à bien le start enfant

Voici mon code peds.meta

<InitDatas>
 <Item>
    <Name>Dante</Name>
    <ClipDictionaryName>[email protected]</ClipDictionaryName>
    <ExpressionSetName>expr_set_ambient_male</ExpressionSetName>
    <Pedtype>CIVMALE</Pedtype>
    <MovementClipSet>[email protected]@c</MovementClipSet>
    <StrafeClipSet>move_ped_strafing</StrafeClipSet>
    <MovementToStrafeClipSet>move_ped_to_strafe</MovementToStrafeClipSet>
    <InjuredStrafeClipSet>move_strafe_injured</InjuredStrafeClipSet>
    <FullBodyDamageClipSet>dam_ko</FullBodyDamageClipSet>
    <AdditiveDamageClipSet>dam_ad</AdditiveDamageClipSet>
    <DefaultGestureClipSet>ANIM_GROUP_GESTURE_M_GENERIC</DefaultGestureClipSet>
    <FacialClipsetGroupName>facial_clipset_group_gen_male</FacialClipsetGroupName>
    <DefaultVisemeClipSet>ANIM_GROUP_VISEMES_M_LO</DefaultVisemeClipSet>
    <PoseMatcherName>Male</PoseMatcherName>
    <PoseMatcherProneName>Male_prone</PoseMatcherProneName>
    <GetupSetHash>NMBS_SLOW_GETUPS</GetupSetHash>
    <CreatureMetadataName>ambientPed_upperWrinkles</CreatureMetadataName>
    <DecisionMakerName>DEFAULT</DecisionMakerName>
    <MotionTaskDataSetName>STANDARD_PED</MotionTaskDataSetName>
    <DefaultTaskDataSetName>STANDARD_PED</DefaultTaskDataSetName>
    <PedCapsuleName>STANDARD_MALE</PedCapsuleName>
    <RelationshipGroup>CIVMALE</RelationshipGroup>
    <NavCapabilitiesName>STANDARD_PED</NavCapabilitiesName>
    <PerceptionInfo>DEFAULT_PERCEPTION</PerceptionInfo>
    <DefaultBrawlingStyle>BS_AI</DefaultBrawlingStyle>
    <DefaultUnarmedWeapon>WEAPON_UNARMED</DefaultUnarmedWeapon>
    <Personality>SERVICEMALES</Personality>
    <CombatInfo>DEFAULT</CombatInfo>
    <VfxInfoName>VFXPEDINFO_HUMAN_GENERIC</VfxInfoName>
    <AmbientClipsForFlee>FLEE</AmbientClipsForFlee>
    <AbilityType>SAT_NONE</AbilityType>
    <ThermalBehaviour>TB_WARM</ThermalBehaviour>
    <SuperlodType>SLOD_HUMAN</SuperlodType>
    <ScenarioPopStreamingSlot>SCENARIO_POP_STREAMING_NORMAL</ScenarioPopStreamingSlot>
    <DefaultSpawningPreference>DSP_NORMAL</DefaultSpawningPreference>
    <IsStreamedGfx value="false" />
 </Item>

Le skin sera utilisé via la commande : /enfant voici mon code :

------

– Simple Loadout Commands V1.0
– By Julie Manlet
– Do not remove credits !!

RegisterCommand(“enfant”, function(source, args, raw)
TriggerEvent(“enfant”)
end, false)

RegisterNetEvent(“enfant”)
AddEventHandler(“enfant”, function()
local model = GetHashKey(“Dante”)
RequestModel(model)
while not HasModelLoaded(model) do
RequestModel(model)
Citizen.Wait(0)
end
SetPlayerModel(PlayerId(), model)
SetModelAsNoLongerNeeded(model)
local ped = PlayerPedId()
GiveWeaponToPed(GetPlayerPed(-1), GetHashKey(“WEAPON_FLASHLIGHT”), 1000, false)
GiveWeaponToPed(GetPlayerPed(-1), GetHashKey(“WEAPON_STUNGUN”), 1000, false)
chatPrint(“Your EMS loadout has been equipped!”)
end)

function chatPrint( msg )
TriggerEvent( ‘chatMessage’, “^1Loadout System”, { 0, 0, 0 }, msg )
end


– Do not remove credits !!

Pourquoi sur mon serveur, quand je tape /enfant celà ne marche pas, on dirais que le stream de vêtement n’a pas fonctionné :confused:

Merci de votre aide