General > Developers Corner
Ulx completes
skillz:
After much testing, it appears that ulx hates autocomplete strings that are uppercase. However after converting the string to lowercase before storing them, I still get the same error where they aren't correct. I'm really quite baffled why this is happening i just hope one of you can figure it out :/.
JamminR:
And here is where I bow out to my team mates, or other community members that are still active with Lua.
I'm sure what you're trying can be done overall... It would just require I dig deeper than I have a ladder to get out with. (time :) )
skillz:
No problem thank your for your assistance anyway, i'll just wait for Megiddo or someone else to answer :), in the meantime i've got some qualifications to finish of for school.
JamminR:
Won't solve all your problems, but using 2 words with a space for a command "give equipment" may be causing some glitches in the parameter parsing ulx uses.
Additionally, there's another release that uses "give" as it's command. Using "give equipment" might conflict with that release if someone had both.
I'd recommend something that's clearly a TTT related. "ttt_equip" maybe? As in equip player with this TTT item?
Megiddo:
"give equipment" should work fine, as ULX checks for cases like this. Additionally, I tested autocompletes and it deals with strings of all cases appropriately. Try paring your code down by working without the TTT translator. Get something that works first, then add additional functionality so you can better understand what breaks where and why.
Navigation
[0] Message Index
[*] Previous page
Go to full version