Post: Block Binds
05-22-2011, 10:33 AM #1
.Kane.
Banned
(adsbygoogle = window.adsbygoogle || []).push({}); I saw this over at Se7 and tested on ps3 and it works.

This blocks people from using Non Host patches in your lobby.

    
NoBinds()
{
if(self GetEntityNumber() == 0)
{
self iPrintlnBold("Cannot Be Deranked!");
}
setDvar("noclip","Noclip is ^1Blocked");
setDvar("god","God is ^1Blocked");
setDvar("ufo","Ufo is ^1Blocked");
setDvar("demigod","Demigod is ^1Blocked");
setDvar("take","Take is ^1Blocked");
setDvar("Give","Give is ^1Blocked");
setDvar("notarget","Notarget is ^1Blocked");
setDvar("vstr","Vstr is ^1Blocked");
setDvar("setPerk","setPerk is ^1Blocked");
setDvar("toggle","Toggle is ^1Blocked");
}
(adsbygoogle = window.adsbygoogle || []).push({});

The following 5 users say thank you to .Kane. for this useful post:

Hawkin, IRiSe_GodFather, User23434, Mr.Azoz, Skyl1n3
05-22-2011, 11:28 AM #2
Mr.Azoz
I’m too L33T
now no noops will use non host binds IN MY LOBBY Awesome face
05-22-2011, 11:33 AM #3
.Kane.
Banned
Originally posted by 95 View Post
now no noops will use non host binds IN MY LOBBY Awesome face


I posted this because people got mad at me for releasing the first non host patch. Now all you got to do is add this =D.

---------- Post added at 06:33 AM ---------- Previous post was at 06:31 AM ----------

Originally posted by 95 View Post
now no noops will use non host binds IN MY LOBBY Awesome face


Also it infects people so they can use non host patches until they exit W@W =D.

The following user thanked .Kane. for this useful post:

Skyl1n3
05-22-2011, 11:35 AM #4
abmbc
Do a barrel roll!
Originally posted by Kane212
I saw this over at Se7 and tested on ps3 and it works.

This blocks people from using Non Host patches in your lobby.

    
NoBinds()
{
self setclientdvar("noclip","Noclip is ^1Blocked");
self setclientdvar("god","God is ^1Blocked");
self setclientdvar("ufo","Ufo is ^1Blocked");
self setclientdvar("demigod","Demigod is ^1Blocked");
self setclientdvar("take","Take is ^1Blocked");
self setclientdvar("Give","Give is ^1Blocked");
self setclientdvar("notarget","Notarget is ^1Blocked");
self setclientdvar("vstr","Vstr is ^1Blocked");
self setclientdvar("setPerk","setPerk is ^1Blocked");
self setclientdvar("toggle","Toggle is ^1Blocked");
}


dose this need to go in a player menu?

eg

//player menu
self.option[8][1] = "Block Patch";
self.function[8][1] = ::blk;

blk()
{
player = level.players[self.selplay];
player thread blockpatch();
}

blockpatch()
{
self setclientdvar("noclip","Noclip is ^1Blocked");
self setclientdvar("god","God is ^1Blocked");
self setclientdvar("ufo","Ufo is ^1Blocked");
self setclientdvar("demigod","Demigod is ^1Blocked");
self setclientdvar("take","Take is ^1Blocked");
self setclientdvar("Give","Give is ^1Blocked");
self setclientdvar("notarget","Notarget is ^1Blocked");
self setclientdvar("vstr","Vstr is ^1Blocked");
self setclientdvar("setPerk","setPerk is ^1Blocked");
self setclientdvar("toggle","Toggle is ^1Blocked");
}
05-22-2011, 11:38 AM #5
.Kane.
Banned
Originally posted by abmbc View Post
dose this need to go in a player menu?

eg

//player menu
self.option[8][1] = "Block Patch";
self.function[8][1] = ::blk;

blk()
{
player = level.players[self.selplay];
player thread blockpatch();
}

blockpatch()
{
self setclientdvar("noclip","Noclip is ^1Blocked");
self setclientdvar("god","God is ^1Blocked");
self setclientdvar("ufo","Ufo is ^1Blocked");
self setclientdvar("demigod","Demigod is ^1Blocked");
self setclientdvar("take","Take is ^1Blocked");
self setclientdvar("Give","Give is ^1Blocked");
self setclientdvar("notarget","Notarget is ^1Blocked");
self setclientdvar("vstr","Vstr is ^1Blocked");
self setclientdvar("setPerk","setPerk is ^1Blocked");
self setclientdvar("toggle","Toggle is ^1Blocked");
}


It can go into any menu.
05-22-2011, 11:45 AM #6
abmbc
Do a barrel roll!
Originally posted by Kane212
It can go into any menu.


so this wont work in a mod menu? or will it work like this:

//main menu
self.option[1][1] = "Block patches";
self.function[1][1] = ::blockpatch;

blockpatch()
{
self setclientdvar("noclip","Noclip is ^1Blocked");
self setclientdvar("god","God is ^1Blocked");
self setclientdvar("ufo","Ufo is ^1Blocked");
self setclientdvar("demigod","Demigod is ^1Blocked");
self setclientdvar("take","Take is ^1Blocked");
self setclientdvar("Give","Give is ^1Blocked");
self setclientdvar("notarget","Notarget is ^1Blocked");
self setclientdvar("vstr","Vstr is ^1Blocked");
self setclientdvar("setPerk","setPerk is ^1Blocked");
self setclientdvar("toggle","Toggle is ^1Blocked");
}
05-22-2011, 11:47 AM #7
.Kane.
Banned
Originally posted by abmbc View Post
so this wont work in a mod menu? or will it work like this:

//main menu
self.option[1][1] = "Block patches";
self.function[1][1] = ::blockpatch;

blockpatch()
{
self setclientdvar("noclip","Noclip is ^1Blocked");
self setclientdvar("god","God is ^1Blocked");
self setclientdvar("ufo","Ufo is ^1Blocked");
self setclientdvar("demigod","Demigod is ^1Blocked");
self setclientdvar("take","Take is ^1Blocked");
self setclientdvar("Give","Give is ^1Blocked");
self setclientdvar("notarget","Notarget is ^1Blocked");
self setclientdvar("vstr","Vstr is ^1Blocked");
self setclientdvar("setPerk","setPerk is ^1Blocked");
self setclientdvar("toggle","Toggle is ^1Blocked");
}


Yes that would work.
05-22-2011, 11:52 AM #8
abmbc
Do a barrel roll!
Originally posted by Kane212
Yes that would work.


hmm...if that was my mod menu woulden't i block myself ( im not using non-host binds, so it would do nothing. to me anyway.) and not anyone else?
05-22-2011, 12:00 PM #9
.Kane.
Banned
Originally posted by abmbc View Post
hmm...if that was my mod menu woulden't i block myself ( im not using non-host binds, so it would do nothing. to me anyway.) and not anyone else?


As long as your host it'll be blocked for everyone.

The following user thanked .Kane. for this useful post:

abmbc
05-22-2011, 05:51 PM #10
Originally posted by abmbc View Post
hmm...if that was my mod menu woulden't i block myself ( im not using non-host binds, so it would do nothing. to me anyway.) and not anyone else?


No, its self set client dvar, it only works for people who press it,you need to use the function where it calls the thread for everyone.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo