Posts
2,790
Respect
351Add +1
Forum Rank
King of the Zombies
Primary Group
Community Daedra
Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms. |
Just don't be an ass by making an "optimized" version unless its for personal use.
P.S. I wasn't sure if i should have made the players variable a level variable. If it should be then please tell me so i can change it ASAP.
Anyone else see the irony?
lol i dont think it a good idea to make players a "level" var under any circumstances lol. in any case we can use our old friend which is the "self" ent
Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms. |
I didn't think it would either. I assumed that the .has_<perk> is persistent on the players[k] variable so that even if you where to create an entirely new function the value would still be set, which is why i'm asking.
I had thought about using self, but i figured it would be easier to keep everything in the function.
You tell people not to "optimize" your scripts and then you ask for help. That's the irony. The people who are editing your scripts are trying to help you write better scripts.
You tell people not to "optimize" your scripts and then you ask for help. That's the irony. The people who are editing your scripts are trying to help you write better scripts.
dual wasnt being rude when he posted the code the other time lol, you have to accept that sometime your code has useless stuff and well dual is being known for making quality scripts
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. | |
Has shown excellence and experience in the area of custom scripting in the UGX-Mods community. |
dual wasnt being rude when he posted the code the other time lol, you have to accept that sometime your code has useless stuff and well dual is being known for making quality scripts
ok, i havent tested .-. can you tell me what does it does? xD haha i was a lil bit lazy to read all the code :L
Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms. |
Oh I'm not going to bother any more.
I'll take care of it