MajdeMakavelliShakur Posted July 1, 2015 Share Posted July 1, 2015 (edited) hello , i was trying to make a criminal script and i found a probleme in adding a command to get that team . i created the team successfully and still i cant make the command plz help me i am a newbie scripter . local Team = createTeam("Criminal", 255, 0, 0) addCommandHandler("Criminal", function (player) setPlayerTeam (player,getTeamFromName("Criminal")) end) thats the script for now . added what he said Edited July 4, 2015 by Guest Link to comment
KariiiM Posted July 1, 2015 Share Posted July 1, 2015 It must be in server side local Team = createTeam("Criminal", 255, 0, 0) addCommandHandler("Criminal", function (player) setPlayerTeam (player,getTeamFromName("Criminal")) end) Link to comment
MajdeMakavelliShakur Posted July 4, 2015 Author Share Posted July 4, 2015 tested and its not working can you tell me whats missed in it plz ? Link to comment
lolman Posted July 4, 2015 Share Posted July 4, 2015 Team = createTeam("Criminal", 255, 0, 0) addCommandHandler("Criminal", function (player) setPlayerTeam (player,Team) end) Link to comment
bosslorenz Posted July 4, 2015 Share Posted July 4, 2015 Team = createTeam("Criminal", 255, 0, 0) addCommandHandler("Criminal", function (player) setPlayerTeam (player,Team) end) This should be working server side script. 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