|
Senior Member
|
01-02-2016
, 13:37
Re: [BOSS] The Mimicer (Version 2)
|
#11
|
Quote:
Originally Posted by silenser
Many thanks
PHP Code:
if(IsValidClient(client, true) && GetClientTeam(client)!=FF2_GetBossTeam())
{
TF2_StunPlayer(client, TscaleDur, 0.0, TF_STUNFLAGS_BIGBONK|TF_STUNFLAG_NOSOUNDOREFFECT, client);
}
EmitSoundToAll(SOUND_SLOW_MO_START);
PrintToChat(client, "[FF2] Mimicer is in fast motion, causing you to get stunned!");
PrintToChat may cause errors, so need move it into IsValidClient checking
PHP Code:
if(IsValidClient(client, true) && GetClientTeam(client)!=FF2_GetBossTeam())
{
TF2_StunPlayer(client, TscaleDur, 0.0, TF_STUNFLAGS_BIGBONK|TF_STUNFLAG_NOSOUNDOREFFECT, client);
PrintToChat(client, "[FF2] Mimicer is in fast motion, causing you to get stunned!");
}
EmitSoundToAll(SOUND_SLOW_MO_START);
Fixed version if someone needing
|
Great job. I will be implementing this into the original .sp soon. Got some troubles with the auto disguise ability, doesn't seem to work(?) right now... Valve probably broke some shit as always.
|
|
|
|