Hello, i am new to the community and have a question. How many players can i run with my server without OneSync? 32? 64? Is there a limit where i have to be a Patreon? What is the max limit without OneSync? Thank you very much for answering!
Hello,
Standard server is limited to 32 players, for bigger online you need Onesync
Thereâs some issues with proximity. Anyone know how to solve it?
I have an issue with chat. All players see otherâs message.
Does anyone has any idea about how to make mumble voip (voice chat) work with OneSync Infinity? The proximity does not seem to work properly. The nearby players cannot hear each other, while some players also cannot hear some other players.
What do I have to do to be able to move on onesync infinity?
What i need to modify?
Check this out:
Maybe because automatic population is disabled when Infinity is enabled;
Automatic population is disabled as otherwise youâd run out of object IDs around 200-300 players. (a global maximum of 8192 spawned entities exists at this time)
But i mean how i need to modify my scripts
You have to keep in mind that GetActivePlayers in client side only returns a table of nearby players. Therefore, scoreboard and teleporting scripts wonât work anymore. A simple work around is to use GetPlayers from server side and send it to client when you open scoreboard and about scripts that use teleportation, just send the coords via server side.
Hi ! i think i need OneSync in order for my players not to become npcâs when they disconect , but i can not test this without buying premium key . Can someone verify if its true or how can i test it ? I dont need more than 32 slots since my server is Prison RP and 64 slots in that prison will be too much to handle.
You can use onesync without donating via patreon. Just keep the slots as 32
What means âpremium: ptâ?
es_extended up2date?
Does someone have an example on how to process the player interaction serverside?
For example for esx_scoreboard
How can I ask to the server the âConnected Playersâ?
I know that in OneSync Infinity you need to ask server-side to the player count. But Iâm not sure how to do it.
Someone can give me an example or send me a resources that has âPlayer countâ server-sided?
Regards.
Hereâs a poor example, by a command (/players)
Server side:
RegisterCommand("players", function(source, raw, args)
local playersonline = GetNumPlayerIndices()
TriggerClientEvent("playerscount", source, playersonline)
end, false)
Client side:
RegisterNetEvent("playerscount")
AddEventHandler("playerscount", function(a)
print("Players online: "..a)
end)
Thanks for the example I started to understand how it works.
If I want to add that in the Easy Admin For example, or in the es_admin or sth like that, how can I do it?
There is a function called GetPlayers that in server-side returns a table of all connected players, if you want to count the players you can measure the length of the table with the #
local userCount = #GetPlayers()
If you want to use it in EasyAdmin you have to use this in server-side, and send that table to gui_c.lua that is client-side.
You have managed to find out EasyAdmin so that all the IDs come out