ULX

Recent Posts

Pages: 1 ... 8 9 [10]
91
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"?

92
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.


93
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.
94
Releases / Re: Daily server restarter
« Last post by Taylorr<3/only.fans on June 24, 2020, 02:45:33 AM »
Do I have to worry about players having access to these commands?
95
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?
96
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 ?
97
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.
98
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"
  3.  
  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...
99
General Chat & Help and Support / Re: anyway to change this?
« Last post by Timmy on June 13, 2020, 01:46:14 AM »
Echo mode and colors can be changed in XGUI. Click "Settings" tab > Click "Server" tab > Click "ULX Command/Event Echoes".

100
Developers Corner / Help
« Last post by UwU me no advertise on June 13, 2020, 12:03:12 AM »
My commands won't work,  won't pop up in the xgui does not change anything. Ill paste the command below but sorry if it is trash i started lua yesterday.





Code: Lua
  1. CATEGORY_NAME "My Ulx Stuff"
  2. ------------------------------Reset------------------------------
  3. function ulx.reset( calling_ply, target_ply )
  4. if target_ply:IsFrozen() then -- Checks if target is frozen
  5.         ULib.tsayError ( calling_ply, v:Nick() .. " That boi is cold / frozen use !unfreeze to warm him up!"
  6.         if target_ply:Alive() then
  7.                 target_ply:Kill() -- Kill the player
  8.                 if not target_ply:Alive() then
  9.                         target_ply:Spawn() -- Respawns the player
  10.                 ulx.fancyLogAdmin( calling_ply, true "#a respawned #t"
  11.         end
  12. end
  13.  
  14.  
  15.  
  16. local reset = ulx.command( CATEGORY_NAME, "ulx reset", ulx.reset, "!reset" )
  17. reset:addParam{ type=ULib.cmds.PlayersArg }
  18. reset:defualtAccess( ULib.ACCESS_ADMIN )
  19. reset:help( "resets the selected target. " )

[EDIT] - Timmy Use BBCode to format code snippet.
Pages: 1 ... 8 9 [10]