[Release][C#][NOT WORKING] Military Team DeathMatch Mode

Thanks, I will test this tomorrow.

I fix previous error by renaming file to .\\WhiteList.txt
But there are more errors.

Then I connecting I have blips error and kicked. Server console is empty.

Screenshot of error

After disabling blips, nothing changed. I still kicking. But I fonded another error, in FirstPerson.

Screenshot of error

Okey, I disabled FirstPerson, but nothing changed, I still kicking. Client and Server console is empty.

Client console

Please help.

P.S. I fouded something in server console - e[91mSCRIPT ERROR: @chat/sv_chat.lua:42: attempt to concatenate a nil value

This is disappearing then I set

onesync_enabled

to false

You are getting kicked without any reason!? Weird!!
First error image is normal and it will happen first time you enter the server . i will fix that later
FirstPerson is not a necessary script if you disable it it wont effect other scripts
But i don’t know why you are getting kicked at all

and keep in mind that its my “first” script that i wrote for fivem . it has a lot of things to improve but currently i dont have time to work on it. its just a basic resource . main reason that i published it is just showing newbies how you can made a gamemode without any complexity. C# is overall a good resource to make a custom framework and system like this but if you want to use things on the forum you can use ESX framework . the good thing about it is you can use ESX in C# and lua at same time. i wrote a guide for it

are you running the server on local host?

No, hosting. I can give IP.

Link to the working and optimized version in lua :
Click Me

1 Like

awliiiiiiiiiiiiiiiiii