Ulysses Stuff > Ulysses Release Archives

URestrict [Depreciated-author no longer supports]

<< < (26/146) > >>

jay209015:

--- Quote ---I forget what, but we've seen some versions Gcombat break a few things in ULX, unique names or not.
I think it was somehow allowing players to pick up each other, even if not admin.
Unless Garry has improved his hook system, if any script shares a hook type (playerloadout for instance), and for any reason returns anything (true false or otherwise)  instead of just returning... that hook stops for all other scripts.
--- End quote ---
     - Oh yeah, I remember that.

--- Quote ---] urestrict
Timer Error: ULib/modules/client/URestrict_cl.lua:228: attempt to concatenate field '?' (a nil value)
--- End quote ---
     -  Temporarily removing GCombat, and see if URestrict works then, if not try removing URestrict and start fresh with the svn. I looked at the line the error above show an error for, and frankly I don't see a way for that to be broken especially since that line isn't even related to the tools section of the script.

--- Code: ---LButtonName:SetText( v.. "(" ..URestrict_Loadout[v].. ")" )
--- End code ---
     - That's line 228: and that is for the loadout menu where it show admin(trusted) ect..

An Error Has Occurred!

array_keys(): Argument #1 ($array) must be of type array, null given

[0] Board index

Go to full version