nwmafia Posted July 14, 2012 Share Posted July 14, 2012 Hello, i'm making a server, and would like to know how to add someone to a team?, what cmd do i use? Link to comment
Infinate Posted July 14, 2012 Share Posted July 14, 2012 https://wiki.multitheftauto.com/wiki/SetPlayerTeam There ya go. Link to comment
nwmafia Posted July 15, 2012 Author Share Posted July 15, 2012 I do /setteam and nothing come up? Link to comment
yMassai Posted July 15, 2012 Share Posted July 15, 2012 on scripting you should post your topic here https://forum.multitheftauto.com/viewfor ... 9db8f5be3e you can determine the command. Link to comment
rolling11 Posted July 15, 2012 Share Posted July 15, 2012 on scripting you should post your topic here https://forum.multitheftauto.com/viewfor ... 9db8f5be3eyou can determine the command. you could help him instead and stop being a shit Link to comment
nwmafia Posted July 16, 2012 Author Share Posted July 16, 2012 Re: How to add someone into a Team?by rolling11 on Sun Jul 15, 2012 6:53 am Ninguem wrote: on scripting you should post your topic here https://forum.multitheftauto.com/viewfor ... 9db8f5be3e you can determine the command. you could help him instead and stop being a :~ My thoughts exactly rolling11. Link to comment
Xeno Posted July 17, 2012 Share Posted July 17, 2012 createTeam("Criminal", 255,255,255) function setTeam() team = getTeamFromName("Criminal") setPlayerTeam(source, team) end addCommandHandler("setteam", setTeam) -- could be wrong, been off from scripting for about 2 months now. Link to comment
Castillo Posted July 17, 2012 Share Posted July 17, 2012 Topic moved to "Scripting". @Xeno: You forgot to define 'source'. theTeam = createTeam ( "Criminal", 255, 255, 255 ) function setTeam ( thePlayer ) setPlayerTeam ( thePlayer, theTeam ) end addCommandHandler ( "setteam", setTeam ) 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