anti_hardscope indentation fix

This commit is contained in:
Resxt 2022-09-30 22:09:45 +02:00
parent b4a9e136e6
commit 46c54c4fac

View File

@ -2,17 +2,17 @@
Init() Init()
{ {
level thread OnPlayerConnect(); level thread OnPlayerConnect();
} }
OnPlayerConnect() OnPlayerConnect()
{ {
for(;;) for(;;)
{ {
level waittill("connected", player); level waittill("connected", player);
// Uncomment if using Bot Warfare // Uncomment if using Bot Warfare
/*if (!self IsBot()) /*if (!self IsBot())
{ {
player thread OnPlayerSpawned(); player thread OnPlayerSpawned();
}*/ }*/
@ -23,16 +23,16 @@ OnPlayerConnect()
OnPlayerSpawned() OnPlayerSpawned()
{ {
self endon("disconnect"); self endon("disconnect");
for(;;) for(;;)
{ {
self waittill("spawned_player"); self waittill("spawned_player");
self.pers["allow_ads"] = true; self.pers["allow_ads"] = true;
self thread AntiHardscope(); self thread AntiHardscope();
} }
} }
AntiHardscope() AntiHardscope()