Foxgott16 Posted March 29, 2011 Share Posted March 29, 2011 (edited) So i will need your help. i had change the script. now i can spawn in SF. 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 ) 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 Edited March 31, 2011 by Guest Link to comment
Jusonex Posted March 29, 2011 Share Posted March 29, 2011 repeat until spawnPlayer ( player, -1517+math.random(1,5), 920+math.random(5,9), 10, 90, 0 ) Link to comment
Foxgott16 Posted March 29, 2011 Author Share Posted March 29, 2011 so fast perfect my friend Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now