Check times help
I made an plugin for zombie plague mod where I checking if an human shot in head an AFK zombie then victim will be kicked .but I need to check this for many times because i tested and if an zombie is not moving and i shot in head he is kicked from first head shot and i need to be kicked from a many head shots here is the code .
in the code you will se farm ... i am not shure what is mean for you but i called this when 2 players make team to make ammo packs faster , when zonbie stay and human shot him to make more ammo packs . PHP Code:
|
Re: Check times help
This is what I wrote after you PMed me. I haven't tested it but it should work quite accurately to what you want.
Code:
|
Re: Check times help
is not working can you just make for my code before kick check for x times, because my code is orking but player get kick if is not moving and at first head shot and i want to be kicked at 5 or more headshots ... please ...
|
Re: Check times help
The method I made will work over time, not the amount of headshots. I didn't build off your code because it seems pointless to loop through players to solve this.
I'll make it for you later, but you should have an amount of time where if the player hasn't been shot then the amount of hits will reset, which is what I did, but instead I made the timer reset. |
| All times are GMT -4. The time now is 06:05. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.