Deathmatch entry

In Quasar Deathmatch Creator, the default setup includes a physical spot on the map where players can access the deathmatch lobbies. However, if you'd prefer not to use a fixed location, you can disable this feature and instead use a command or event to open the Deathmatch menu manually. This allows for more flexibility, as you can trigger the menu from anywhere on the map.


Disabling the spot and using a command

To disable the static spot and switch to using commands for opening the Deathmatch menu, follow these steps:

Set Config.SpotEnable to false in your configuration file:

Config.SpotEnable = false

Use the ExecuteCommand function to trigger the Deathmatch menu via a custom command. You can define a new command like this:

RegisterCommand("openDeathmatch", function()
    ExecuteCommand("dmopen")
end, false)
  • The command "openDeathmatch" can be typed by players to open the Deathmatch menu.

  • You can also bind this command to a key or trigger it via an event elsewhere in your server, giving players access to Deathmatch functionality without needing to visit a specific spot.

This setup provides more freedom, letting players initiate Deathmatch sessions from any location, which can be useful for servers focusing on dynamic PvP interactions.

Last updated

Was this helpful?