Ulysses Stuff > General Chat & Help and Support

Need some simple help with a code!

(1/3) > >>

darkdeath:
plz anyone who knows lua good tell me:
here below is the code:

--- Quote ---      if _GetConVar_Bool( "6" ) then
         _MaxPlayers( userid, "Set 6 players", "6", )
      else
         _MaxPlayers( userid, "Set 10 players", "6", )
      end

--- End quote ---

How can i make this code work thats my question?
btw: its for the "ulx_menus.lua" i am adding some more options.

Megiddo:
_MaxPlayers doesn't accept any parameters, and you cannot change the maxplayers while running a server

darkdeath:
oh thats a pitty
are there any codes who worK ?..
like the weapon codes ?

darkdeath:
can someone TELL ME THAT ?...

Megiddo:
There is no way you can change maxplayers without restarting the server

Navigation

[0] Message Index

[#] Next page

Go to full version