Vice City: Multiplayer

Server Development => Scripting and Server Management => Topic started by: Shovon^ on Sep 16, 2016, 11:21 AM

Title: Adding Skin Script
Post by: Shovon^ on Sep 16, 2016, 11:21 AM
i downloaded custom skin but where do i need to add the new skin id script??
Title: Re: Adding Skin Script
Post by: KAKAN on Sep 16, 2016, 11:38 AM
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.
Title: Re: Adding Skin Script
Post by: Shovon^ on Sep 16, 2016, 01:05 PM
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
Title: Re: Adding Skin Script
Post by: KAKAN on Sep 16, 2016, 02:02 PM
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; }
Title: Re: Adding Skin Script
Post by: Cool on Sep 16, 2016, 02:09 PM
add as simple skin but only change skin id to custom.......
Title: Re: Adding Skin Script
Post by: W3aPoN^ on Dec 11, 2016, 07:59 PM
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