Taalasmaa Posted July 27, 2009 Share Posted July 27, 2009 Hello, I maked really awesome team script, there is teams like "groves" "ballas" etc.. And if grove kill ballas they receive some money and if ballas kill groves they receive too money and if groves/ballas kill civilian they go to jail or if they have cash in hand, they will lost $2000.. I have greenzones there+ base markers.. I maked more than hard work for this script... And I wannna request how can I make window, that it will spawn you to team Or I have window.. There's code about button: addEventHandler ( "onClientGUIClick", Groves, setTeam ) I have window code in safe in computer, I don't wanna post it and there's, that button thing (which should setTeam) function setTeam(button,state) -- when they click with the left mouse button if button == "left" and state == "down" then -- if they clicked the groves button if source == Groves then setPlayerTeam ( source, Groves ) I have teams in difference script And they are working! It's more than awesome if somebody can help I really need this script! Link to comment
jkub Posted July 27, 2009 Share Posted July 27, 2009 If there are so many teams then we need to know how many teams there are so we know how big to make the window. Link to comment
Lordy Posted July 27, 2009 Share Posted July 27, 2009 I have window code in safe in computer, I don't wanna post it \":D\" Err.. right. You want us to help you but are so keen on protecting the thing you want help with? That's not really a hard thing to do and I doubt anyone here would steal your script. Easier to make own. You make a gui window, hide it, when player joins, show it, it will have buttons grove and ballas. Then you use those event handlers, if clicked on grove, trigger a server event which spawn you to grove team and vice versa. Link to comment
The_Ex Posted July 27, 2009 Share Posted July 27, 2009 Actually your script isn't safe, anyone who joins your server will get clientside scripts downloaded. 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