Jump to content

Help!


Miika

Recommended Posts

I'm noob, but I want make resource that change you skin to CJ, if you join.

That code not working:

function onJoin() 
    setElementModel(player, 0) 
    outputChatBox("CJ skini vaihdettu automaattisesti", source, 2) 
end 
addEventHandler("onPlayerJoin", getRootElement(), onJoin) 

Sorry I'm sorry for my bad english...

Link to comment
Cheez r u an PHP Scripter? you keep using those ';' while they're not needed.

@Miika perhaps 'onPlayerSpawn' is better because if they die they'll lose skin or make 'onPlayerDeath'

"onPlayerWasted" not working. It change the skin, but it spawn new skin with player spawn.

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