999v1 Non ESX Chat Script

Hello today i made a non esx 999v1 chat script

The Commands are
/999 for Emergency use only
/101 for Non Emergency us only
/500 for Highways England

1 Like

Got any screenshots?

yes post fixed

by non esx fo you mean standalone?

AddEventHandler('playerDropped', function (reason) 
  -- Clear their lists 
  local src = source;
  isCop[src] = nil;
end) 

you have this 3 times in your server side

you have send to disc function 2 times

also _resource stopped being used 2 years ago, and this version in yours is from 2019

this has no permission/job check, and everyone gets the messages, gotta clean this up quite a bit its clearly a lot of copy paste from an old script

yes what needs changing

make an issue request on github

Nice release, if you’re a beginner. By the looks of things code could definitely use a clean up, but good efforts :slight_smile:

I’ve send a push request on github to update the code- hopefully this helps you out with understanding other ways to do the exact same thing but with less and more efficient code.

I’ve sent a push request on github.