[Release] CommandPack 1.0 | Pack of use full commands

Straight to the point;

This is a standalone script, functions are:
/911 - Call 911
/dispatch - Dispatch Response
/me - Action
/ooc - Out Of Character Chat
/run - Run plate, Name, etc
/sp - Search Player
/sv - Search Vehicle

Screenshot:

You can change the colour of each command by adding an ^1 to ^9 i front of the response

If you dont want a certain command, go into the __resource.lua and remove the corresponding line.

Example:
Before


After

CmdPack1.0.rar (3.0 KB)

Thats all, Any question let me know below.

7 Likes

Isn’t there enough of these already?

1 Like

And? Just a fun thing i made for my server instead of using everyone elses. Might aswell release it cos why not.

6 Likes

Why would you create an individual file per cmd? You can literally do all of this server side?

EDIT: In one file. Take a look at the documentation you can find many things there :slight_smile: Docs Here

Wow, you use so many unnecessary files when you could have just done it in one lua file and also you use Chat listeners. Why can’t people just use RegisterCommand, jesus.

Any reason for all the hate? If you dont like it dont download it or view it, just a little thing i made up, seriously u guys need to stop hating and judging, i done it the way i want to do it, this way i can be organised. Seriously u guys need to stop it with all the judging and disrespect

2 Likes

I wouldn’t necessarily call it hate, it’s more criticism. They’re not saying “Oh wow, your work is shit”, but, giving suggestions for improvement. I.e. Use RegisterCommand() rather than listening for chatMessages.

We arent hating on you!!! We are only providing constructive criticism to tell you that you can do this in a much easier and faster way.

Please use the forum uploading system instead of external sites.

You can combine all of these into 1 single server file and then use the following for commands

RegisterCommand("911",function(source, args)
	TriggerClientEvent('chatMessage', source, '^6 911: This is the police.')
end)

With that you can type /911 to trigger.

Keep practicing and getting familiar with natives so your work becomes a lot easier.

1 Like

Thanks, I am new, I mean it works

Why?
(20 chars)

As per the PSA:

It’s okay to be new, but just because it works doesn’t mean there isn’t room for improvement! Keep on learning and check out other peoples releases so you can see how they accomplish similar projects.

Ok thank

I like a script and am using it in my server. I like the organization factor you have. No complaints

why dont you just use

server_scripts {
     "911.lua", ect
}

I Added you :slight_smile:

This is really cool I can’t wait to try this on my server!

I was reading over this and i dont want it to be client, i want it to be server wide so the other players can see that the members are doing that thing.