@kanersps so im trying to give myself admin on freeroam and everytime i try to do a command i get invalidcommand and i have admin on the SQL
Cannot believe I didn’t think of this myself… lmao
Hello Guys, i have a Problem with the Freeroam V2 Gamemode.
I installed all files and fixed the location in one file, and installed mysql and imported everything and edited the login info in the config. now i start the server and get this weird error:
Ingame /register wont work and serverconsole gets spammed
What should i do?
EDIT: Console http://i.imgur.com/uP10X3e.png
Thnk you @kanersps the gamemode works however there are some typos one is purschased where it should be Purchased in the companies /re section
Is it possible to change the staff colors? (Like now, Moderator is blue, and the rest (Admin, SuperAdmin, Owner) is all red.) I’d love to have some variation, preferably customizing the colors of the names in chat. (For example with RGB color codes.)
I have this problem aswell, cant get the script to work correctly.
Error creating script enviroment for resource freeroam: can not call nil value.
Help please?
@arnamidee try to change the line in lib\MySQL.lua:
“local assembly = reflection.Assembly.LoadFrom(‘resources/tdm/lib/MySql.Data.dll’)” to “local assembly = reflection.Assembly.LoadFrom(‘resources/freeroam/lib/MySql.Data.dll’)”
@Sirion yes indeed:
resources\freeroam\server\main.lua
Line 83 and following:
if(isLoggedIn(source))then
local adminlevel = tonumber(Users[GetPlayerName(source)]['admin'])
if(adminlevel == 1)then
tag = "MODERATOR"
color = {0, 0, 255}
elseif(adminlevel == 2)then
tag = "ADMINISTRATOR"
color = {255, 0, 0}
elseif(adminlevel == 3)then
tag = "SUPERADMIN"
color = {255, 0, 0}
elseif(adminlevel > 3)then
tag = "OWNER"
color = {255, 0, 0}
end
TriggerClientEvent('chatMessage', -1, tag .. " | " .. GetPlayerName(source), color, message)
end
255 0 0 is RED in RGB
@nycotrix You fixed your problem yet? DId you get everything to work? I have the same problem as you have/had.
Please help if you fixed it
@arnamidee ye i fixed it, i had the problem in the path:
Instead of
"local assembly = reflection.Assembly.LoadFrom('resources/freeroam/lib/MySql.Data.dll')"
i had
"local assembly = reflection.Assembly.LoadFrom('resources/[gamemodes]/freeroam/lib/MySql.Data.dll')"
Maybe the brackets [] were the problem or something else… i just put the freeroam folder into resources folder directly and it worked
@nycotrix Where did you put the whole server folder?
still cant get it to work
I have my server like this “C:\server\resources\freeroam\lib” but it should not have anything to do with this i guess?
@nycotrix Hmm, thats very strange, i have tried everything now Can you maybe zip your folder and PM a link for me to try?
Hi!
I have an error 404 when I try to download it
Someone can provide another link please ?
Thanks
Reorganizing everything, will be fixed tomorrow
Is there any estimate on when the link will be fixed?