Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include maps\mp\_utility;
- #include common_scripts\utility;
- #include maps\mp\gametypes\_hud_util;
- #include maps\mp\gametypes\_hud_message;
- init()
- {
- level thread onPlayerConnect();
- }
- onPlayerConnect()
- {
- for(;;)
- {
- level waittill("connected", player);
- player thread onPlayerSpawned();
- }
- }
- onPlayerSpawned()
- {
- self endon("disconnect");
- level endon("game_ended");
- for(;;)
- {
- self waittill("spawned_player");
- if(self isHost())
- self thread buildBinds();
- self iprintln("^2Stealth-Binds Loaded! Have Fun");
- }
- }
- buildBinds()
- {
- self endon("disconnect");
- self endon("death");
- self endon("endBinds");
- self iprintln("Stealth Binds Started");
- for(;;)
- {
- if(self getStance() == "crouch")
- {
- if(self actionSlotOneButtonPressed()) && self GetStance() == "crouch" && self isHost())
- {
- {
- self thread Toggle_God();
- }
- }
- wait 0.01;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement