Modifying Fullthrottles rules script, couple of problems
I am trying to modify this script to perform different actions depending on the number of times a player has been warned for breaking the rules. Basically, it should do teh following
1. Just give a warning 2. Slay the player 3. Kick the player 4. Temp ban the player 5. Perm ban the player However, what it actually does is this 1. Just give a warning 2. Nothing (Slay command must just be wrong) 3. Kick the player At this point, if the player rejoins, it starts from the top (Warning, notslay, kick) The slay is, I imagine an easy fix, simply an incorrect command. However, I think the fact that it "forgets" players previous warnings is due to using the player names instead of steamids. I have changed it to perform actions on authids rather than names, but I won't be able to test it untill tommorow, so if someone sees a reason its not working thats not that, please let me know. Anyway, I am trying to modify this script. The only modification I have done is to the handleViolation function, as follows: Code:
Anyone got any ideas where I am going wrong? *Edit - Of course disabling my immunity allows me to test this.. ok, so I'm a dumbarse ;) Anyway, a bit of work on this, it now slays properly, but still forgets people after they reconnect from the kick. *Code updated to current |
| All times are GMT -4. The time now is 10:03. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.