I scripted this for Element. Look at newfeatures to find the F-Keys that you want disabled, and put the numbers in the array (F4,F5, and F6 are already in it). I remember hearing something about serverwarp not working on the trainers? Anyways, I made it remove all the players weapons.
PHP Code:
if (actionserverside) {
if (strequals(#p(0),badkey)) {
with (getplayer(#p(1))) {
for (i=0;i<weaponscount;i++) removeweapon #w(i);
}
sendtonc Hacker: #p(1) hit invalid key: #p(3) (#p(2));
savelog2 invalidkeys_log.txt,#p(1) hit invalid key: #p(3) (#p(2))#K(13);
}
}
//#CLIENTSIDE
if (created || initialized) {
this.removeditems = false;
setstring this.ikn,F4,F5,F6;
this.ik = {115,116,117};
this.ikc = arraylen(this.ik);
this.t = .15;
timeout = .05;
}
if (timeout) {
timeout = this.t;
this.badkey = -1;
for (i=0;i<this.ikc;i++) {
if (keydown2(this.ik[i],true)) this.badkey = i;
}
if (this.badkey >= 0) badkey();
}
function badkey() {
if (this.removeditems == false) {
this.removeditems = true;
triggeraction 0,0,serverside,-FKeys,badkey,#a,#v(this.ik[this.badkey]),"#I(this.ikn,this.badkey)";
}
serverwarp playerworld44;
}
If your truly a security psycho, you could make all your NPW's classes.