Adding Skin Script

Started by Shovon^, Sep 16, 2016, 11:21 AM

Previous topic - Next topic

Shovon^

i downloaded custom skin but where do i need to add the new skin id script??
Iam the best and i only believe in Allah

Conatact me here on IRC:  #shovon^ @LUnet

KAKAN

Paste it in serverdir/store/skins or  serverdir/store/skin folder( forgot,  so try both) and use player. Skin = 100;
The z in the skin name denotes the ID.
oh no

Shovon^

#2
where should i add the player.skin=100; i want that players can spawn with that skin...
and what should be the name of the skin give any full example
Iam the best and i only believe in Allah

Conatact me here on IRC:  #shovon^ @LUnet

KAKAN

Quote from: Shovon^ on Sep 16, 2016, 01:05 PMwhere should i add the player.skin=100; i want that players can spawn with that skin...
and what should be the name of the skin give any full example
Add it to AddClass function. Or do something like this:-
function onPlayerSpawn( player ){ player.Skin = 100; }
oh no

Cool

add as simple skin but only change skin id to custom.......

W3aPoN^

Your skin must be format in .7z and start like this z200_SkinNameYouWant if you have already set z200_ then add z201_ Now Go to the serverDirectory> Store> Skins> here paste the .7z file now go back and open server.CONF add This line in <!-- Classes -->
<Class team="0" skin="200" x="-689.0347" y="760.3649" z="11.0767" angle="186.1276" weapon1="25" ammo1="999" weapon2="21" ammo2="250" weapon3="26" ammo3=" 500" a="0"/> or open scripts.NUT find in Scripts Folder and open it Find For OnScriptLoad{  } and Paste This Code between { and } this is The Code: AddClass( 0, 200, Vector( 97.595, -1472.650, 9.451 ), 0, 14, 999 ,18, 999, 19, 999 ); These Two Are The Methods You Can Try Both if Any Problem Appears Then PM Me Thanks