mirror of
https://github.com/Jackzmc/sourcemod-plugins.git
synced 2025-05-06 21:43:22 +00:00
Fix instant commons troll
This commit is contained in:
parent
910a560eb9
commit
6426e525db
3 changed files with 1 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -7,6 +7,7 @@
|
|||
!scripting/hideandseek.sp
|
||||
!scripting/guessswho.sp
|
||||
!scripting/include/guessswho
|
||||
!data/*.cfg
|
||||
!gamedata/
|
||||
template.config.js
|
||||
.*
|
||||
|
|
Binary file not shown.
|
@ -287,7 +287,6 @@ bool ApplyAffect(int victim, const Troll troll, int activator, trollModifier mod
|
|||
for(int i = 0; i < 30; i++) {
|
||||
int c = L4D_SpawnCommonInfected(pos);
|
||||
L4D2_RunScript("CommandABot({cmd=0,bot=EntIndexToHScript(%i),target=GetPlayerFromUserID(%i)})", c, victimId);
|
||||
SetEntPropEnt(c, Prop_Send, "m_hTargetEntity", victim);
|
||||
}
|
||||
}
|
||||
} else if(StrEqual(troll.name, "Randomize Clip Ammo")) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue