FiGo Posted April 20, 2020 Share Posted April 20, 2020 addCommandHandler("criminal", function (player) exports.GTIhud:dm("This command has been disabled, you must commit a crime to join in Criminals team", player, 255, 0, 0) end ) function isCriminal(player) if (exports.GTIteams:isPlayerInTeam(player, "Criminals")) then return false end if (exports.GTIbusiness:setPlayerCriminal(player) ~= "Criminal") then return false end return true end what is wrong in that function why when I commit a crime it doesn't move me to the criminal team Link to comment
#\_oskar_/# Posted April 21, 2020 Share Posted April 21, 2020 check error > debugscript 3 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