Jump to content

Script problem


SteeLRO

Recommended Posts

Hey all. I have a problem with my script.

Why allow everyone to access the command?

function abcd(source,command) 
  local Team = getPlayerTeam(source) and getTeamName(getPlayerTeam(source)) 
     if (Team ~= "Police") then 
  
           createObject(8082,1556,-1612,13.60000038147,0,0,0.25) 
  
addCommandHandler("police",abcd) 

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...