Recent Posts

Pages: 1 ... 8 9 [10]
General Chat & Help and Support / Re: How to remove all but ph_ Maps from Vote List
« Last post by Timmy on June 27, 2020, 11:09:05 AM »
Conversation was continued on Discord:

Summary here:
  • OP used a gamemode called Prophunt: Enhanced.
  • The gamemode has a built-in map vote system.
  • The gamemode comes with a ULX command ("map_vote") to trigger the map vote, leading OP to think that their vote system can be configured within ULX.
  • Turns out that it does, but needs to enabled by running mv_use_ulx_votemaps 1 from the server console.
Yes they are showing for non-admins when the round is over and people need to vote for a new map.

And yes i have tried adjusting the default game mode to prop_hunt

And i will post a pic of those settings.

Are they showing for non admins?
Have you tried adjusting the gamemode to other than default?
Been long time since ive looked, but imagine admins being able to see maps to vote on non-admins can't.
What settings show in "ulx admin votemaps"?

General Chat & Help and Support / How to remove all but ph_ Maps from Vote List
« Last post by Xelriel on June 27, 2020, 08:05:31 AM »
So i've been searching around the net for days now, And this forum, Im trying to disable any type of map that does not start with ph_ I've tried removing them, Stop them from loading, Remove them from the mapvote list by disabling them in the settings, I can not for the life of me figure this out.

BTW if you can't tell from the screenshots, I have done this but the other maps that are not highlighted in the first screenshot are still showing up in the vote map list that comes up after a round.

Releases / Re: Daily server restarter
« Last post by JamminR on June 24, 2020, 05:48:46 PM »
Well, would you want random players to be able to shutdown or cancel shutdown?
It's for superadmin by default.
Releases / Re: Daily server restarter
« Last post by Taylorr<3/ on June 24, 2020, 02:45:33 AM »
Do I have to worry about players having access to these commands?
General Chat & Help and Support / Help!
« Last post by NormalAmerican on June 18, 2020, 02:58:53 PM »

My ULib/ULX versions (run "ulx version" in console):
ULib v2.63
ULX v.3.73

Game mode(s) I am having this problem on: Darkrp

Lua errors shown in console, if any:

I need help, I don't really know this forum but I accidentally made it so superadmins can't edit groups, so I can't edit anybody. Can I do anything in console?
Releases / Re: Money Commands -- DarkRP
« Last post by [NIKS] (OoC)Warrior Gaming on June 16, 2020, 02:28:53 PM »
so how do i install it to ulx ?its not working i got it in addons but still not working ?
Developers Corner / Re: Help
« Last post by UwU me no advertise on June 14, 2020, 11:47:32 AM »
Thank you, I was on a camping trip so i could not answer before i got home. I'll try ur tips. And i will definetlly post here again.
Developers Corner / Re: Help
« Last post by Timmy on June 13, 2020, 03:21:06 AM »
Yes, your code has a few errors. A missing assignment operator on line 1, closing parenthesis on line 5 & 10, missing comma on line 10, ...

Trying to debug a lot of code at once is super hard, especially if you're just starting out.

Write a small part of your program, test it, then debug until it works. The errors in your console will usually tell you what went wrong. If you need help with a specific error, include the error message along with the code that's causing issues, in your forum post.

Here's a template to get you started. This should give you a working reset command that appears in XGUI:
Code: Lua
  1. -- lua/ulx/modules/sh/my-ulx-stuff.lua
  2. CATEGORY_NAME = "My Ulx Stuff"
  4. function ulx.reset( calling_ply, target_ply )
  5.     ulx.fancyLogAdmin( calling_ply, "#A reset #T", calling_ply, target_ply )
  6. end
  7. local reset = ulx.command( CATEGORY_NAME, "ulx reset", ulx.reset, "!reset" )
  8. reset:addParam{ type=ULib.cmds.PlayerArg }
  9. reset:defaultAccess( ULib.ACCESS_ADMIN )
  10. reset:help( "resets the selected target. " )

Of course, it won't actually reset your target yet.
Next, try adding the code to respawn a player, and make sure that works.
Then prevent respawning players that are still alive, and make sure that works.
And so on...
Pages: 1 ... 8 9 [10]