mirror of
https://github.com/Jackzmc/sourcemod-plugins.git
synced 2025-05-05 20:43:21 +00:00
Remove unused model name
This commit is contained in:
parent
190826cd7d
commit
4d4379d75f
2 changed files with 4 additions and 4 deletions
Binary file not shown.
|
@ -119,9 +119,9 @@ public void OnMapEnd() {
|
|||
public void CVAR_hTotalZombiesChanged(ConVar convar, const char[] oldValue, const char[] newValue) {
|
||||
if(hTotalZombies.IntValue > 0) {
|
||||
commonLimit = hTotalZombies.IntValue;
|
||||
}else if(hTotalZombies.IntValue < 0) {
|
||||
} else if(hTotalZombies.IntValue < 0) {
|
||||
commonLimit = hZCommonLimit.IntValue - hTotalZombies.IntValue;
|
||||
}else {
|
||||
} else {
|
||||
commonLimit = 0;
|
||||
}
|
||||
}
|
||||
|
@ -132,8 +132,8 @@ public void OnEntityCreated(int entity, const char[] classname) {
|
|||
if (StrEqual(classname, "infected") && IsDoneLoading) {
|
||||
SDKHook(entity, SDKHook_SpawnPost, Hook_SpawnPost);
|
||||
|
||||
char m_ModelName[PLATFORM_MAX_PATH];
|
||||
GetEntPropString(entity, Prop_Data, "m_ModelName", m_ModelName, sizeof(m_ModelName));
|
||||
// char m_ModelName[PLATFORM_MAX_PATH];
|
||||
// GetEntPropString(entity, Prop_Data, "m_ModelName", m_ModelName, sizeof(m_ModelName));
|
||||
if(GetRandomFloat() <= hPercentTotal.FloatValue) {
|
||||
if(GetRandomFloat() <= hPercentClown.FloatValue) {
|
||||
SetEntityModel(entity, INFECTED_MODELS[Common_Clown]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue