andiyer Posted November 22, 2012 Posted November 22, 2012 Hi all good a question I want to know as lightning team for all that are created in my server out in the scoreboard please help
Castillo Posted November 22, 2012 Posted November 22, 2012 I don't understand what do you want. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
andiyer Posted November 22, 2012 Author Posted November 22, 2012 What I want is that every team that are in the spawn localition bone appear in the score TAB
Moderators IIYAMA Posted November 23, 2012 Moderators Posted November 23, 2012 (edited) --server addEventHandler("onResourceStart",getResourceRootElement(getThisResource()), function() call(getResourceFromName("scoreboard"),"addScoreboardColumn","spawnlocalition") end ) --client or server setElementData(getLocalPlayer(),"spawnlocalition",location) setElementData(source,"spawnlocalition",location) @Klesh Then his question isn't correctly formulated. What ever... location = getElementZoneName ( source ) Edited November 24, 2012 by Guest Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
Klesh Posted November 24, 2012 Posted November 24, 2012 With that you only are setting the score name without data, he wants to show the location of the player in the map. My resources : playerpartFromName: Exported function.
andiyer Posted December 13, 2012 Author Posted December 13, 2012 what I want is that every team that I have created in aparescan spawn in the TAB
Castillo Posted December 13, 2012 Posted December 13, 2012 He's talking about this resource: https://community.multitheftauto.com/ind ... ls&id=1152 @andiyer: You would need to edit the script and add it so it creates all the teams on start. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
andiyer Posted December 14, 2012 Author Posted December 14, 2012 and as I say this I can explain how? please
Castillo Posted December 14, 2012 Posted December 14, 2012 For what I see, you don't have much experience with Lua, you'll need at least basic to achieve this. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
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