When i joined my server, i wanted to try !donate and it would bring up a google link. I tried to edit this i looked in ulx and couldn't find !donate and change the url link to my website. If anyone knows how i can change the google url to a different one that would be nice. Please list the steps on how to edit !donate cause i am somewhat new on doing this.
Found this after literally 5 seconds when gogglein "ulx !donate", first result
To set the URL, either use an Rcon tool to change the ConVar "donate_url" or manually set the URL in the lua file.
Can you tell me the location of the lua file cause i been looking for that, i didn't follow the other steps because i already have a command for !donate but it brings up google so i just would like to change that but looked so much and couldn't find it.
Try changing the variable through console, as they recommend
Hey i tried to change it and when every i do !donate notting comes up now?
How did you change it?
Console
are you sure the url is correct? Are you getting any errors when changing it to your url or typing !donate ?
Yes the url is correct and no errors, notting comes up for example if i put youtube as the url it wouldn't come up. Now the shit says unknown command, i mean its fine, i could fix this later
..then you probably wanna fix the "unknown command" error???
Where did you even get !donate from?,
are you sure you're not getting confused between prometheus and ulx?
What did you install exactly that brought the command?
I had ULX installed and !donate i typed in chat it bring up google, if you know the location of where i can change the url that would be nice. I tried changing it through console and it didnt seem to work.
Can you send me your ULX folders?, I can take a look at it (if whatever modification you're using is free, if it's paid I can't quite help you)
With this you gotta have the addon installed to the server rather than added through the workshop.
The location is: <BASE FOLDER> > lua > ulx > modules > sh > cc_menus.lua
Locate line 7, and replace the current line of code with: calling_ply:SendLua([[gui.OpenURL( "DONATION SITE LINK HERE" )]])
and you're good to go
Sorry, you need to Log In to post a reply to this thread.