mirror of
https://github.com/Jackzmc/sourcemod-plugins.git
synced 2025-05-06 09:33:20 +00:00
ftt: Add option to ignore incapped players
This commit is contained in:
parent
ebdf2a2a1f
commit
a949868806
2 changed files with 20 additions and 5 deletions
|
@ -102,7 +102,7 @@ GlobalForward g_PlayerMarkedForward;
|
|||
//HANDLES
|
||||
Handle hThrowTimer;
|
||||
//CONVARS
|
||||
ConVar hVictimsList, hThrowItemInterval, hAutoPunish, hMagnetChance, hShoveFailChance, hAutoPunishExpire;
|
||||
ConVar hVictimsList, hThrowItemInterval, hAutoPunish, hMagnetChance, hShoveFailChance, hAutoPunishExpire, hMagnetTargetMode;
|
||||
//BOOLS
|
||||
bool lateLoaded; //Is plugin late loaded
|
||||
bool bChooseVictimAvailable = false; //For charge player feature, is it available?
|
||||
|
@ -321,4 +321,7 @@ stock int FindIdlePlayerBot(int client) {
|
|||
}
|
||||
}
|
||||
return client;
|
||||
}
|
||||
stock bool IsPlayerIncapped(int client) {
|
||||
return GetEntProp(client, Prop_Send, "m_isIncapacitated") == 1;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue