Minotaur Posted June 11, 2013 Posted June 11, 2013 I want to change the 3 spawn places... and how to delete automatically cars on the spawn places? my broph.lua: local spawnpoint addEventHandler("onResourceStart", resourceRoot, function() spawnpoint = getRandomSpawnPoint() resetMapInfo() for i,player in ipairs(getElementsByType("player")) do spawn(player) end end ) function spawn(player) if not isElement(player) then return end if get("spawnreset") == "onSpawn" then spawnpoint = getRandomSpawnPoint() end exports.spawnmanager:spawnPlayerAtSpawnpoint(player,spawnpoint,false) repeat until setElementModel(player,math.random(312)) fadeCamera(player, true) setCameraTarget(player, player) showChat(player, true) end function getRandomSpawnPoint () local spawnpoints = getElementsByType("spawnpoint") return spawnpoints[math.random(1,#spawnpoints)] end addEventHandler("onPlayerJoin", root, function() spawn(source) end ) addEventHandler("onPlayerQuit",root, function () if getPlayerCount() == 1 and get("spawnreset") == "onServerEmpty" then spawnpoint = getRandomSpawnPoint() end end ) addEventHandler("onPlayerWasted", root, function() setTimer(spawn, 1800, 1, source) end )
Castillo Posted June 11, 2013 Posted June 11, 2013 To change these things, go to "play/broph.map". San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Castillo Posted June 11, 2013 Posted June 11, 2013 You're welcome. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
-.Paradox.- Posted June 12, 2013 Posted June 12, 2013 and if i want a team spawnpoint ? If you're looking for a cheap paid scripter, don't hesitate to contact me. Great minds discuss ideas, Average minds discuss events and small minds discuss people.
iPrestege Posted June 12, 2013 Posted June 12, 2013 and if i want a team spawnpoint ? Edit the script broph.lua .
-.Paradox.- Posted June 12, 2013 Posted June 12, 2013 i have 5 teams and i already put them in acl : Forever , Iron Weasel , Saint Row , Monster Energy , Task Forces If you're looking for a cheap paid scripter, don't hesitate to contact me. Great minds discuss ideas, Average minds discuss events and small minds discuss people.
iPrestege Posted June 12, 2013 Posted June 12, 2013 Please post your own topic i don't like to post on other's topics .
-.Paradox.- Posted June 12, 2013 Posted June 12, 2013 Ok If you're looking for a cheap paid scripter, don't hesitate to contact me. Great minds discuss ideas, Average minds discuss events and small minds discuss people.
-.Paradox.- Posted June 13, 2013 Posted June 13, 2013 i did but no body helped me If you're looking for a cheap paid scripter, don't hesitate to contact me. Great minds discuss ideas, Average minds discuss events and small minds discuss people.
PaiN^ Posted June 13, 2013 Posted June 13, 2013 Where is it ? I can't see anything ! " Keep Thinking Different . " - Steve Jops -------------------- Don't send me PMs asking for help, I Won't reply !
-.Paradox.- Posted June 13, 2013 Posted June 13, 2013 viewtopic.php?f=91&t=60676 If you're looking for a cheap paid scripter, don't hesitate to contact me. Great minds discuss ideas, Average minds discuss events and small minds discuss people.
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