Jump to content

>> how can i set skin by SPAWN? <<


Foxgott16

Recommended Posts

So i will need your help.

i had change the script. now i can spawn in SF.

:arrowdown::arrowdown::arrowdown::arrowdown:

  
addEventHandler("onResourceStart", resourceRoot, 
    function() 
        for i,player in ipairs(getElementsByType("player")) do 
            spawn(player) 
        end 
    end 
) 
  
function spawn(player) 
    if not isElement(player) then return end 
    repeat until spawnPlayer ( player, -XXXX+math.random(1,5), XXXX+math.random(5,9), 10, 90, math.random(9,288) ) 
    fadeCamera(player, true) 
    setCameraTarget(player, player) 
  
end 
  
addEventHandler("onPlayerJoin", root, 
    function() 
        spawn(source) 
    end 
) 
  
  

:arrowup::arrowup::arrowup::arrowup:

how can i make it so >if player spawn the > player alwas hat the skin "0"

thanks for your response! ;)

all the best from germany :fadein::)

Edited by Guest
Link to comment

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