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) 

560x95_FFFFFF_FF9900_000000_000000.png

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.

560x95_FFFFFF_B7FF00_000000_000000.png
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).

Resources I made:

Do not PM me for help with leaked scripts! I WILL NOT HELP YOU!

 

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...