MOOMO Posted June 25, 2012 Posted June 25, 2012 hi guys im looking for spawn point script like this : cops spawn outside police officer grove spawn outside cj home please make this 1 !
Castillo Posted June 25, 2012 Posted June 25, 2012 1: This topic should go at: "Resources" section. 2: You should search on the MTA community before ask. 3: Check this out: https://community.multitheftauto.com/ind ... ls&id=1152
MOOMO Posted June 25, 2012 Author Posted June 25, 2012 1: sorry im new here 2: i didnt said all players spawn menu 3: i just need cops and grove spawn 4: your link not useful to me .. thanks for your post any other help please ?
Castillo Posted June 25, 2012 Posted June 25, 2012 Well, then you'll have to start learning how to script on Lua. https://wiki.multitheftauto.com/wiki/Scr ... troduction
MOOMO Posted June 26, 2012 Author Posted June 26, 2012 i will never learn ps : if you will not help dont post , , others may help .
Castillo Posted June 26, 2012 Posted June 26, 2012 With that attitude you won't go far. I was trying to help you.
Jaysds1 Posted June 26, 2012 Posted June 26, 2012 Ya, Solid was trying to help, Sorry, but if you expect us to waste our time and make something that is the least important to us, then your wrong, everyone has something better to do and sorry if I'm being rude but, learn LUA, or stay a client to MTA.
MOOMO Posted June 26, 2012 Author Posted June 26, 2012 i find this 1 : but i dont know if its works or no hmm the release said all who dead will respawn outside of argent but i want police spawn outside police officer . please edit it :>: addEventHandler("onResourceStart", resourceRoot, function() for i,player in ipairs(getElementsByType("SBAB")) do spawn(player) end end ) function spawn(player) repeat until spawnPlayer ( player, 2166.5715332031+math.random(1,5), 1685.8394775391+math.random(5,9), 10.8203125, 90, math.random(9,288) ) fadeCamera(player, true) setCameraTarget(player, player) end addEventHandler("onPlayerJoin", root, function() spawn(source) end ) addEventHandler("onPlayerWasted", root, function() setTimer(spawn, 4000, 1, source) end ) addEventHandler("onResourceStart", resourceRoot, function() for i,player in ipairs(getElementsByType("MORTAZKA")) do spawn(player) end end ) function spawn(player) repeat until spawnPlayer ( player, 2166.5715332031+math.random(1,5), 1685.8394775391+math.random(5,9), 10.8203125, 90, math.random(9,288) ) fadeCamera(player, true) setCameraTarget(player, player) end addEventHandler("onPlayerJoin", root, function() spawn(source) end ) addEventHandler("onPlayerWasted", root, function() setTimer(spawn, 4000, 1, source) end )
Jaysds1 Posted June 26, 2012 Posted June 26, 2012 Sorry, but that's not even close to what you want, if I was you, I would start learning LUA, if you actually start learning then you would see it's not hard to make something as simple as this. viewtopic.php?f=148&t=40809
MTA Team qaisjp Posted June 27, 2012 MTA Team Posted June 27, 2012 Actually, this shouldn't go at the resource section. I think the resource section is more of a showroom, to show off resources (for release or not, including WIP resources), not requesting resources.
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