[Release] [MilitaryRP] - Faction Comms Chat Commands (OUTDATED)

[Release] [MilitaryRP] - Faction Comms Chat Commands

[Why the release]
I’ve been lurking around the forums for a couple months just tinkering with different resources and checking out all the great new resources, I thought it was about time to begin contributing to the community on modifications or the little stuff I’ve put together over the last couple months.

[The resource release]

This is Chat commands for anyone running the MilitaryRP Gamemode - [Outdated] [Powered by ESX] [Gamemode] Military Roleplay

Very Simple release for the chat.

commands
/usa message = United States Comms - Name - Message
/usp message = US Air-Force Comms - Name - Message
/ru message = Russian Federation Comms - Name - Message
/rup message = RU Air-Force Comms - Name - Message
/uk message = United Kingdom Comms - Name - Message
/ukp message = UK Air-Force Comms - Name - Message
/cn message = Chinese Comms - Name - Message
/cno message = CN Air-Force Comms - Name - Message

Also as shown below (Got lazy with the examples but you get the drift :wink: )

DOWNLOAD

Installation -

Drag & Drop the file MilitaryRP-FactionsComms into the resources file

&

Add start MilitaryRP-FactionsComms to the server.cfg

Credits:
@sadboilogan - For his resource release (Which I used as a template to make this) - Chat Commands (/me /do etc)

@LGDevelopment - (The actual Gamemode isn’t in this release but still deserves credits) [Outdated] [Powered by ESX] [Gamemode] Military Roleplay

1 Like

Hey awesome script do you think that you can add a US marine corps Comms?

hey is this like private chat like only people with the same role can see the message??

No, In the current state its in it isn’t. I could look into doing something like that if really needed. But within saying that I haven’t touched this in close to 2 years haha

Look at the script. Very very easy will can do this your self

	sm = stringsplit(msg, " ");
	if sm[1] == "/WHATEVER YOU WANT THE COMMAND" then
		CancelEvent()
		TriggerClientEvent('chatMessage', -1, "^3WHATEVER YOU WANT THE TITLE TO BE - ^7" .. name, { 128, 128, 128 }, string.sub(msg,5))
	end

if you can yes please

Could Ace permissions be added to this?

I could do this.