how to add on RolesFX anonym?
I tried all steam codes on that weird sites for my steam account to add…
And with no succes its not working can someone help me out or say how i can get the steam correctly
Nvmd its working now
when ever i type something it type it twice one from game chat and one from the chatrole how can i fix this
hi, do you know how to resolve that when I write I get the name of the game and not the name of steam?
you solved?
Nice release man! But i have a problem. Can you help me to remove the default chat?
so to stop the old chat you just comment out the old chat resource right?
I am having an issue where everyone is coming up as Civilian when I put them as their ranks
Iv tried to reinstall multiple times and redo the whole things but it won’t work
local Owner = {“steam:1100001184992da”,}
local Director = {“steam:”,“ip:”,}
local AD = {“steam:”,“ip:”,}
local Man = {“steam:110000103dd3702”,}
local HA = {“steam:”,“ip:”,}
local RM = {“steam:11000011aaafe29”,}
local SA = {“steam:11000011a7dbe69”,}
local Admin = {“steam:11000013750c292”,“steam:11000010af03352”,“steam:1100001168e8c13”,}
local Mod = {“steam:11000013da29e66”,}
local Dev = {“steam:”,“ip:”,}
local HD = {“steam:110000109bf48da”,}
AddEventHandler(‘chatMessage’, function(Source, Name, Msg)
args = stringsplit(Msg, " ")
CancelEvent()
if string.find(args[1], “/”) then
local cmd = args[1]
table.remove(args, 1)
else
local player = GetPlayerIdentifiers(Source)[1]
if has_value(Owner, player) then
TriggerClientEvent(‘chatMessage’, -1, "Owner | " … Name, { 255, 0, 0 }, Msg)
elseif has_value(Director, player) then
TriggerClientEvent(‘chatMessage’, -1, "Director | " … Name, { 0, 191, 255 }, Msg)
elseif has_value(AD, player) then
TriggerClientEvent(‘chatMessage’, -1, "Assistant Director | " … Name, { 63, 127, 241 }, Msg)
elseif has_value(Man, player) then
TriggerClientEvent(‘chatMessage’, -1, "Manager | " … Name, { 158, 0, 0 }, Msg)
elseif has_value(HA, player) then
TriggerClientEvent(‘chatMessage’, -1, "Head Admin | " … Name, { 9, 0, 126 }, Msg)
elseif has_value(RM, player) then
TriggerClientEvent(‘chatMessage’, -1, "Resource Manager | " … Name, { 255, 0, 204 }, Msg)
elseif has_value(SA, player) then
TriggerClientEvent(‘chatMessage’, -1, "Senior Admin | " … Name, { 255, 141, 0 }, Msg)
elseif has_value(Admin, player) then
TriggerClientEvent(‘chatMessage’, -1, "Administrator | " … Name, { 255, 0, 0 }, Msg)
elseif has_value(Mod, player) then
TriggerClientEvent(‘chatMessage’, -1, "Moderator | " … Name, { 146, 33, 33 }, Msg)
elseif has_value(Dev, player) then
TriggerClientEvent(‘chatMessage’, -1, "Developer | " … Name, { 54, 255, 66 }, Msg)
elseif has_value(HD, player) then
TriggerClientEvent(‘chatMessage’, -1, "Head Developer | " … Name, { 49, 49, 49 }, Msg)
else
TriggerClientEvent(‘chatMessage’, -1, "Civilian | " … Name, { 8, 206, 0 }, Msg)
end
end
end)
function has_value (tab, val)
for index, value in ipairs(tab) do
if value == val then
return true
end
end
return false
end
function stringsplit(inputstr, sep)
if sep == nil then
sep = “%s”
end
local t={} ; i=1
for str in string.gmatch(inputstr, “([^”…sep…"]+)") do
t[i] = str
i = i + 1
end
return t
end
—ALLOWS YOU TO CHECK VERSIONS IN GAME
AddEventHandler(‘chatMessage’, function(source, name, msg)
if msg:sub(1, 1) == “/” then
sm = stringsplit(msg, " ");
if sm[1] == “/fversion” then
CancelEvent()
TriggerClientEvent(‘chatMessage’, source, “^0[^1RolesFX Script Version Check^0]”, {30, 144, 255}, " ^2Version 1.1.0 | RolesFX By Jay Gatsby!^0 ) " … string.sub(msg,11))
end
end
end)
—PRINTS THIS CODE BELOW TO THE CONSOLE
print(‘Jays Roles FX has loaded in to the server! Type in chat to test it out!’)
use VacBanned and Hex
can you tellme what is that chat?
Why does it show it like this -
ya this is broken. Just shows everyone as civ
how to neon tags ???
When i add this script and do everything to set it up when i join the server and when i type something it is still the normal thing that says my name and my message so what do i do?
Don’t even bother yourself with this, everyone is having problems with it so its probably broken
i’m not having problems with it
How can you help me
did you add your hex to the script?
does it work for 1024 player slots?