Jump to content

Groups help


kietla

Recommended Posts

Posted

I'm looking for a script to automatically rollover to the group's

polish:

szukam skryptu do automatycznego przerzucania do danej grupy użytkownika

Posted
spawnTeam = createTeam ("Teamname", 255, 0, 0) -- Create team to spawn. 
function spawnOnLogin (prevA, curA, autoLogin) 
    outputChatBox ("Welcome to ...", source, 255, 0, 0, false) 
    spawnPlayer (source, 0, 0, 5, 0, math.random (0,288), 0, 0, spawnTeam) -- spawns player with random skin 
    fadeCamera (source, true) 
    setCameraTarget (source, source) 
end 
addEventHandler("onPlayerLogin", getRootElement(), spawnOnLogin) 

how to set the skin here?

Posted
spawnTeam = createTeam ("Teamname", 255, 0, 0) -- Create team to spawn. 
function spawnOnLogin (prevA, curA, autoLogin) 
    outputChatBox ("Welcome to ...", source, 255, 0, 0, false) 
    spawnPlayer (source, 0, 0, 5, 0, math.random (0,288), 0, 0, spawnTeam) -- spawns player with random skin 
    fadeCamera (source, true) 
    setCameraTarget (source, source) 
end 
addEventHandler("onPlayerLogin", getRootElement(), spawnOnLogin) 

math.random (0,288), that's the skin.

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