Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I know how to fix the problem with ranks being reseted
#1
The server uses Gtawards reward system and when you get your rank this command below is being executed.
 
ulx adduser <user> <group> 

but this command just changes the group temporarily.

to make a permanent change you must use an ULib function because ULib is attached to MySQL ( I believe ).

https://ulyssesmod.net/docs/files/lua/ul...l-lua.html

Instead of using
 
ulx adduser <user> <group>

Try this

ULib.ucl.addUser( pid, allows, denies, group )

The server uses Gtawards system reward, but I recommend raychamp time reward because the maintenance is easier.


Forum Jump:


Users browsing this thread: 1 Guest(s)

About Us
    This is Dinkleberg's GMod, a gaming community based in Garry's Mod. We have a Trouble in Terrorist Town, Prop Hunt, Murder, and Deathrun Server. Come check them out sometime.