abujhl777 Posted May 29, 2016 Share Posted May 29, 2016 Anybody can write a basic script to me /command make ur team Unempolyed Link to comment
ViRuZGamiing Posted May 29, 2016 Share Posted May 29, 2016 createTeam addCommandHandler setPlayerTeam use these, then use playerSource from the handler to set the team. Link to comment
abujhl777 Posted May 29, 2016 Author Share Posted May 29, 2016 Please anyone make it for me plsss im new scripterrr Link to comment
Simple0x47 Posted May 30, 2016 Share Posted May 30, 2016 It's not that difficult... function unemploy(source) setPlayerTeam(source, 'unemployed') end addCommandHandler('leavejob', unemploy) Link to comment
Anubhav Posted May 30, 2016 Share Posted May 30, 2016 You forgot setPlayerTeam's 2nd argument needs a team element not a string. Link to comment
Simple0x47 Posted May 30, 2016 Share Posted May 30, 2016 Ah is true, sry. local unemployed = createTeam("Unemployed", 255, 255, 255) function unemploy(source) setPlayerTeam(source, unemployed) end addCommandHandler('leavejob', unemploy) Link to comment
1LoL1 Posted May 30, 2016 Share Posted May 30, 2016 Ah is true, sry. local unemployed = createTeam("Unemployed", 255, 255, 255) function unemploy(source) setPlayerTeam(source, unemployed) end addCommandHandler('leavejob', unemploy) He mean this: function unemploy (source) setPlayerTeam(source, getTeamFromName("Unemployed")) end addCommandHandler("leavejob, unemploy) Link to comment
Simple0x47 Posted May 30, 2016 Share Posted May 30, 2016 Yeah but the request is the full script which means there's no team with that name Link to comment
Moderators IIYAMA Posted May 30, 2016 Moderators Share Posted May 30, 2016 Don't give immature - greedy - screaming baby's new toys will you! He has to make his first steps on his own... and not driving cars yet. I am new scripterrrrrrrrrrrrrrrrrrr Link to comment
Simple0x47 Posted May 30, 2016 Share Posted May 30, 2016 I don't see future for this kind of people in scripting... He said he's a new scripter just to remain as a poor man waiting for someone who would be humble to make scripts free for him. 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