mirror of
https://github.com/Resxt/Plutonium-IW5-Scripts.git
synced 2025-04-19 12:42:54 +00:00
anti_hardscope indentation fix
This commit is contained in:
parent
b4a9e136e6
commit
46c54c4fac
@ -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()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user