But actually i want to create a temporay time for using the medkit
Sigh...ok let me clarify this, cause it seems like people try to tell you the right thing but you dont understand it, for whatever reason.
Its for all Users, so no Admin or Superadmin check.
You have to put one or two or as many validations are you want. SERVERSIDE.
The Problem is that a client could send these messages themself, and get all the healing, everywhere, at anytime, the whole time. Which would basically give them godmode almost...
So yea, the solution i simply to put the WHOLE healing pack code into a few other if statemts.
Not sure if you already understood the upper part, but when i read your messages it kinda looks like you dont know what everybody wants from you at all..so i explained it to you here in the whole sense.
BUT if your stuck with the part of figuring out WHAT KIND of verifications to use exacly, it can literally be anything that can only be changed serverside..
Like.. (im just coming up with stuff right now real)
Add a Timer for each player, which has to run out until they can heal again.
Make the healing for the one player be blocked if hes doing it too often, like obviously cheating like often.
Everything else you might can come up with. Just verifications/if statements that can only be checked serverside, so the client has no way to change them to gain a exploit
You don't have checks, you don't have timers, what are you even trying to accomplish anymore?
So could u send me the checks?
No. This is the part where you use the wiki and other people’s replies and learn for yourself.
I reread and I (think?) I know what you want. A medkit thing with a cool down. Go look at the timer library on the wiki.
k
Sorry, you need to Log In to post a reply to this thread.