Group Chats
I came accross a thread about making the group chats work for jobs. Unfortunately, I followed this thread the best I could, and placed it where it should have yet group chat does NOT work. I have done testing afterward and my other staff members say they cant see the group chats within their jobs. Unfortunately this puts a bit of restriction for my CWRP server, seeming they now have to use comms. Is there any way to fix it?
Currently I have this written in /addons/darkrpmodification/lua/darkrp_customthings/groupchats.lua
–[[---------------------------------------------------------------------------
Group chats
Team chat for when you have a certain job.
e.g. with the default police group chat, police officers, chiefs and mayors can
talk to one another through /g or team chat.
HOW TO MAKE A GROUP CHAT:
Simple method:
GAMEMODE:AddGroupChat(List of team variables separated by comma)
Advanced method:
GAMEMODE:AddGroupChat(a function with ply as argument that returns whether a random player is in one chat group)
This is for people who know how to script Lua.
---------------------------------------------------------------------------]]
– Example: GAMEMODE:AddGroupChat(TEAM_MOB, TEAM_GANG)
– Example: GAMEMODE:AddGroupChat(function(ply) return ply:isCP() end)
GAMEMODE:AddGroupChat(TEAM_ARF)
GAMEMODE:AddGroupChat(TEAM_ARC)
GAMEMODE:AddGroupChat(TEAM_PILOTS)
GAMEMODE:AddGroupChat(TEAM_CG)
GAMEMODE:AddGroupChat(TEAM_GM)
GAMEMODE:AddGroupChat(TEAM_ELITE)
GAMEMODE:AddGroupChat(TEAM_ATTACK)
GAMEMODE:AddGroupChat(TEAM_STARCORPS)
@ chat
So I want all my staff to see and be able to communicate with each other via admin chat (Ex: Person 1@ Yo did you ban that guy? Person 2@ Yeah for 2 days.)
But the problem is, I did;
ulx groupallow “rank” seeasay for every rank (did it in game console) yet none of them can see it.
Letting certain ULX ranks spawn with Physgun and Toolgun
Last but not least we have this problem…
I restricted all ranks from spawning with a tool gun and physgun because since it is CWRP, they can be mingey or it just sits in their inventory without any reason (I dont want them physgunning anything or anyone)
So is there a way to 1. Remove Q menu for certain ULX ranks and 2. Let certain ULX ranks spawn with a toolgun
One other thing is I dont want it for certain DarkRP jobs. Some of the gamemasters and admins arent commanders of anything, therefore dont have their own PERSONAL job. I want it to spawn with the ULX ranks of gamemaster, moderator, admin, doubleadmin, superadmin, council, sudo-root and root no matter what job they are in.
Thank you for any help you are able to give me!