Alright, whenever I get onto my server, in console it says I didn't admin myself when trying to access certain things. On top of that, ULX refreshes my permissions even if I'm still in Owner group. I just dont get my permission. Additionally, I have jobs on my darkrp server and I set health and armor but it doesn't work. Judging by the fact that I am having permission issues, I think this may be why. I have friends with the same code and they get it to work.
Ps. I use Nitrous Networks, and I downloaded ULX and Ulib off there.
Are there any errors with ULX? If not it's likely to be a configuration issue and you should be looking into how you set your groups up. Some addons require you to be in the group "superadmin" unfortunately, so check in the code of whatever you're trying to access to see if this is the case. Assuming that you're in some kind of custom "owner" group.
As for yor job issue, what do you mean by you are setting thej health and armor? In the code of jobs.lua or via command? Please provide the code so we can actually see what you are doing in order to help you.
This for example.
Change the PlayerSpawn function to PlayerLoadout function - You were sort of right, but PlayerSpawn gets called, and it seems like PlayerLoadout is called AFTER it, to give you the weapons, and seems like health and stuff - So set ammo, health and armor in PlayerLoadout.
Should I just replace the word? Or I have to add the amount of ammo as well?
Just the word "PlayerSpawn" to "PlayerLoadout" - should work
It gave the weapons and everything. We tried different code. There has to be a problem in alternative darkrp code. I just dont know where to look.
Sorry, you need to Log In to post a reply to this thread.