Jump to content

Help Skin change


Recommended Posts

Posted

I have a dayZ szerver and i make a script for it which is works, but when i get the script its automatically place back the stnadard szerver skin

There is my script

function vipskin (playerSource) 
     setPlayerSkin(playerSource, 0) 
end 
addCommandHandler("vipskin", vipskin) 

Posted

I guess the script is interfering with some other script that is resetting the skin back to the default one. You're gonna have to edit the other one.

Posted
I have a dayZ szerver and i make a script for it which is works, but when i get the script its automatically place back the stnadard szerver skin

There is my script

function vipskin (playerSource) 
     setPlayerSkin(playerSource, 0) 
end 
addCommandHandler("vipskin", vipskin) 

You can change skins only that you have given. And you have that the skin is used.

Posted
function vipskin (playerSource) 
      setElementData(playerSource, "skin", 0) 
      setElementModel(playerSource, 0) 
end 
addCommandHandler("vipskin", vipskin) 

Try this.

Posted

The DayZ check every 20 secounds if your skin is normal(normal=75), so you have to edit in survivorSystem.lua/spawn.lua/pickups.lua(If I am not mistaken).

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...