Jump to content

help me


FiGo

Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...