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)