[Discontinued][Release][v2.0.1] CHEM!CAL T0Ж!N [Mod Menu][Admin Menu (incl. Bans, Kicks, Spectate...)][Outfit, Vehicles, Weapon & Settings Saving]

working perfectly fine thanks very much for your help.

can i change time and weather in the server for everyone connected ?¿

Yes, that is possible.

Open the config.lua, find this WorldAndNoClipOnlyAdmins = false and change false to true. Afterward you as an admin can change the weather and time for every client.

Thanks for the new realse :slight_smile:

How can I diseable the Voice-chat from your script.
I mean we use the voice parameter from the game and we prefer to use it.
As the player can select whisper, normal, scream

thanks for helping!

It is not easy to completly remove it but I will do so in the next version of the trainer if you want me to do it.

Ok or can I just comment the line that will disable may be :slight_smile:
But don’t forget All what you done is just perfect!! Thanks again for sharing

Yeah, that is possible, but there are several thing you have to do then…


Let us begin with the admin.lua. Open it and find this Line:

admin.lua

Line 6

local VoiceChatChannel = 0

Line 279 - 305

			TriggerEvent("FMODT:Bool", VoiceChatTitle, VoiceChat, function(cb)
				VoiceChat = cb
				if VoiceChat then
					drawNotification("~g~" .. VoiceChatEnableMessage .. "!")
				else
					drawNotification("~r~" .. VoiceChatDisableMessage .. "!")
				end
			end)

			TriggerEvent("FMODT:Float", VoiceChatProximityTitle, VoiceChatProximity, 0.00, 8000.00, 2.50, 10, function(cb)
				VoiceChatProximity = cb
				if VoiceChatProximity == 0.00 then
					drawNotification("~g~" .. VoiceChatProximityChangeToDefaultMessage .. "!")
				else
					drawNotification("~g~" .. VoiceChatProximityChangeMessage .. "!")
				end
			end)
			
			TriggerEvent("FMODT:Int", VoiceChatChannelTitle, VoiceChatChannel, 0, 5, function(cb)
				VoiceChatChannel = cb
				if VoiceChatChannel == 0 then
					NetworkClearVoiceChannel()
					drawNotification("~g~" .. VoiceChatChannelChangeToDefaultMessage .. "!")
				else
					NetworkSetVoiceChannel(VoiceChatChannel)
				end
			end)

Line 475 - 476

TriggerServerEvent("VoiceChat", VoiceChat)
TriggerServerEvent("VoiceChatProximity", VoiceChatProximity)

Line 593 - 599

AddEventHandler("VoiceChatClient", function(State) --Enables/ Disables the Voice Chat
	VoiceChat = State
end)

AddEventHandler("VoiceChatProximityClient", function(Proximity) --Changes the Voice Chat Proximity
	VoiceChatProximity = Proximity
end)

Next is the misc.lua.

misc.lua

Line 905 - 917

Citizen.CreateThread(function() --Voice Chat
    while true do
        Citizen.Wait(0)
		NetworkSetVoiceActive(VoiceChat)
	end
end)

Citizen.CreateThread(function() --Voice Chat Proximity
    while true do
        Citizen.Wait(0)
		NetworkSetTalkerProximity(VoiceChatProximity)
	end
end)

Now we take a look at the config.lua

config.lua

Line 53 - 57

--Change "true" to "false" to disable the Voice Chat
VoiceChat = true

--Change the Float Value to change the default Voice Chat Proximity
VoiceChatProximity = 0.00 --In Meters, 0.00 means the whole Lobby

Last but not least, the server.lua

server.lua

Line 263 - 269

AddEventHandler("VoiceChat", function(State) --Enables/ Disables the Voice Chat on every Client
	TriggerClientEvent("VoiceChatClient", -1, State)
end)

AddEventHandler("VoiceChatProximity", function(Proximity) --Changes the Voice Chat Proximity on every Client
	TriggerClientEvent("VoiceChatProximityClient", -1, Proximity)
end)

Line 878 - 879

RegisterServerEvent("VoiceChat") --Just Don't Edit!
RegisterServerEvent("VoiceChatProximity") --Just Don't Edit!

Outcomment or remove them.

Thanks for the time you take to put all this information!
It’s work perfectly!! thanks you!

1 Like

Hello All!,
Can you explain why the option for “Godmode” for the player is missing? I see that “Godmode” is in the “Player.lua” file but it does not reflect in the menu on the game. Is there another location that needs to be modified to have it show up?

Let me know if you can

Updated to v2.0.1



  • Fixed a problem with the Player Godmode and Visibility


Download in the First Post!




@MIKEG Thanks for telling me about this problem, I made a mistake in the last release. Please redownload the file.

If anyone wants to help me translating the Menu, please check this thread out: Click Here

Seem to be getting this error whenever someone joins – https://gyazo.com/7baf624eee3caed5d8cb0603620f4977

Is your FX Server up to date?

Yep, I even freshly installed it. Still get the error

Please DM me your server.lua, thanks

The menu is very nice but how would I change the front? because it was very hard to read (Requested form player).

To change the font follow this step to step tut.

  1. Open the GUI.lua
  2. Search for this line: GUI.titleText = {255, 255, 255, 255, 1} (Should be at line 6)
  3. Change the one (1) at the end to a four (4)
  4. Now search for this line: GUI.optionText = {255, 255, 255, 255, 1} (Should be at line 8)
  5. Change the one (1) at the end to a four (4)
  6. Save the file
  7. Restart the Resource or the Server
  8. Profit!
1 Like

I love this!, this is like going back to the gta online modding days, just so much silly stuff!

GJ dude! :stuck_out_tongue:

(Ik im a bit late)

1 Like

Permission Denied to download?

Thanks Flatracer for putting out this trainer, really excited to try it on my server when I get home.

That is what I was aiming for :slight_smile:

That shouldn’t happen, is this error still occouring or can you download it now?

You’re welcome :slight_smile:

1 Like