Rename ztele functions to use new module prefix naming convention.
The underscore makes it easier to see the real function name because it visualy separates the prefix.
This commit is contained in:
@ -770,7 +770,7 @@ InfectHumanToZombie(client, attacker = -1, bool:motherinfect = false, bool:respa
|
||||
new bool:zombierespawn = GetConVarBool(g_hCvarsList[CVAR_INFECT_MZOMBIE_RESPAWN]);
|
||||
if(zombierespawn)
|
||||
{
|
||||
ZTeleTeleportClient(client);
|
||||
ZTele_TeleportClient(client);
|
||||
}
|
||||
}
|
||||
// Check override.
|
||||
@ -778,7 +778,7 @@ InfectHumanToZombie(client, attacker = -1, bool:motherinfect = false, bool:respa
|
||||
{
|
||||
if (respawnoverride && respawn)
|
||||
{
|
||||
ZTeleTeleportClient(client);
|
||||
ZTele_TeleportClient(client);
|
||||
}
|
||||
}
|
||||
|
||||
@ -790,7 +790,7 @@ InfectHumanToZombie(client, attacker = -1, bool:motherinfect = false, bool:respa
|
||||
RoundEndOnClientInfected();
|
||||
DamageOnClientInfected(client, motherinfect);
|
||||
SEffectsOnClientInfected(client);
|
||||
ZTeleOnClientInfected(client);
|
||||
ZTele_OnClientInfected(client);
|
||||
ZHPOnClientInfected(client);
|
||||
APIOnClientInfected(client, attacker, motherinfect, respawnoverride, respawn);
|
||||
ImmunityOnClientInfected(client);
|
||||
@ -830,7 +830,7 @@ InfectZombieToHuman(client, bool:respawn = false, bool:protect = false)
|
||||
// Forward event to modules.
|
||||
ClassReloadPlayer(client);
|
||||
RoundEndOnClientInfected();
|
||||
ZTeleOnClientInfected(client);
|
||||
ZTele_OnClientInfected(client);
|
||||
|
||||
// Give human a new knife. (If you leave the old one there will be glitches with the knife positioning)
|
||||
new knife = GetPlayerWeaponSlot(client, _:Slot_Melee);
|
||||
@ -844,7 +844,7 @@ InfectZombieToHuman(client, bool:respawn = false, bool:protect = false)
|
||||
// Check if we should respawn the client.
|
||||
if (respawn)
|
||||
{
|
||||
ZTeleTeleportClient(client);
|
||||
ZTele_TeleportClient(client);
|
||||
}
|
||||
|
||||
// Check if we should spawn protect the client.
|
||||
|
Reference in New Issue
Block a user