mirror of
https://github.com/ineedbots/t6_bot_warfare.git
synced 2025-04-20 17:25:42 +00:00
try this...
This commit is contained in:
parent
52139cd0e9
commit
cd43aa6162
16
.vscode/settings.json
vendored
16
.vscode/settings.json
vendored
@ -10,5 +10,19 @@
|
||||
"Compile current GSC File": [
|
||||
"*.gsc"
|
||||
]
|
||||
}
|
||||
},
|
||||
"Lua.diagnostics.globals": [
|
||||
"InheritFrom",
|
||||
"CoD",
|
||||
"LUI",
|
||||
"Dvar",
|
||||
"Engine",
|
||||
"UIExpression",
|
||||
"RegisterMaterial",
|
||||
"GetTextDimensions",
|
||||
"setstencil",
|
||||
"HUD_IngameMenuClosed",
|
||||
"HUD_IsFFA",
|
||||
"HideGlobe"
|
||||
]
|
||||
}
|
Binary file not shown.
@ -16,6 +16,8 @@ on_player_connect()
|
||||
|
||||
check_player_classes()
|
||||
{
|
||||
self endon( "disconnect" );
|
||||
|
||||
for ( class_num = 0; class_num < 10; class_num++ )
|
||||
{
|
||||
allocationSpent = self GetLoadoutAllocation( class_num );
|
||||
@ -27,7 +29,7 @@ check_player_classes()
|
||||
logline1 = "Player: " + self.name + " XUID: " + self getXUID() + " had too many items in their class.";
|
||||
print( logline1 );
|
||||
kick( self getEntityNumber() );
|
||||
break;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user