mirror of
https://github.com/Jackzmc/sourcemod-plugins.git
synced 2025-05-05 22:43:21 +00:00
Misc changes
This commit is contained in:
parent
a740bdf733
commit
c38fb1819f
7 changed files with 7 additions and 5 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -5,10 +5,10 @@
|
|||
|
||||
|
||||
enum TrollModifier {
|
||||
TrollMod_Invalid = 0,
|
||||
TrollMod_Invalid = 0,
|
||||
TrollMod_Instant = 1 << 0,
|
||||
TrollMod_Constant = 1 << 1,
|
||||
TrollMod_PlayerOnly = 1 << 2, // Does the troll only work on players, not bots? If set, troll only applied on real user. If not, troll applied to both bot and idler
|
||||
TrollMod_PlayerOnly = 1 << 2, // Does the troll only work on players, not bots? If set, troll only applied on real user. If not, troll applied to both bot and idler
|
||||
}
|
||||
|
||||
native void ApplyTroll(int victim, const char[] name, TrollModifier modifier = TrollMod_Invalid, int flags, int activator, bool silent = false);
|
||||
|
|
|
@ -20,7 +20,6 @@ Handle hThrowTimer;
|
|||
ConVar hAllowEnemyTeam;
|
||||
ConVar hThrowItemInterval;
|
||||
ConVar hAutoPunish;
|
||||
ConVar hMagnetChance;
|
||||
ConVar hShoveFailChance;
|
||||
ConVar hAutoPunishExpire;
|
||||
ConVar hMagnetTargetMode;
|
||||
|
@ -84,12 +83,15 @@ bool spIsActive;
|
|||
enum SpecialSpawnFlags {
|
||||
Special_Anywhere = 0,
|
||||
Special_OnTarget = 1,
|
||||
Special_SpawnDirectOnFailure = 2
|
||||
Special_SpawnDirectOnFailure = 2,
|
||||
Special_KillOnIncap = 4,
|
||||
Special_AlwaysTarget = 8
|
||||
}
|
||||
|
||||
enum SpecialInternalFlags {
|
||||
SPI_KillOnSpawn = 1,
|
||||
SPI_AlwaysTarget = 2,
|
||||
SPI_KillOnTargetIncap = 4
|
||||
}
|
||||
|
||||
int healTargetPlayer;
|
||||
|
|
|
@ -30,7 +30,7 @@ methodmap GameConVarStorage < StringMap {
|
|||
|
||||
}
|
||||
|
||||
methodmap GameConVar __nullable__ < ConVar {
|
||||
methodmap GameConVar < ConVar {
|
||||
public GameConVar(const char[] name) {
|
||||
return view_as<GameConVar>(FindConVar(name));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue