mirror of
https://github.com/Jackzmc/sourcemod-plugins.git
synced 2025-05-06 20:43:21 +00:00
Set activeFlagClients off to -1
This commit is contained in:
parent
9256c3e6df
commit
090a1a6099
1 changed files with 8 additions and 0 deletions
|
@ -53,6 +53,14 @@ void SetupTrolls() {
|
|||
SetupTroll("CameTooEarly", "When they shoot, random chance they empty whole clip", TrollMod_Constant);
|
||||
SetupTroll("Inverted Controls", "Well, aint it obvious", TrollMod_Constant);
|
||||
//INFO: UP MAX_TROLLS when adding new trolls!
|
||||
|
||||
|
||||
// Initialize the default flag values to -1
|
||||
for(int i = 0; i <= MAX_TROLLS; i++) {
|
||||
for(int j = 1; j <= MAXPLAYERS+1; j++) {
|
||||
Trolls[i].activeFlagClients[j] = -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void AddMagnetFlags(int index) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue