Quote:
Originally Posted by zssz
Hey MeRcyLeZZ, I disabled all of the game modes besides Plague, but Nemesis still keeps finding its way into random rounds. zp_nem_enabled is set to 0. The chance is set to 50. Does this need to be like super high for it to stop activating?
|
Setting zp_nem_enabled to 0 should be enough. Maybe someone/something is changing it?
Quote:
Originally Posted by FisH n' ChIpS
I commented it but it gave me errors like:
<1444> :error 026: no matching "#if...
|
Have you edited anything else in the source by mistake? Try looking about line 1444, or just redownload the original .sma
Quote:
Originally Posted by rooney_09
In one ZP server, the sky was red (very cool)
How i can put that sky ?
|
You need to know the sky names, and add them in the customization part:
Code:
// Sky Names (randomly chosen, add as many as you want)
new const skynames[][] = { "sky1", "sky2", "sky3" }
Quote:
Originally Posted by IDDQD
MeRcyLeZZ, How can I disable zombie falldamage?
|
If you want a zombie class that doesn't take damage from falls try the
Faller Zombie.
If you want to disable it for ALL zombies try this:
Code:
#include <amxmodx>
#include <hamsandwich>
#include <hlsdk_const>
#include <zombieplague>
public plugin_init()
{
register_plugin("[ZP] No Zombie Fall Damage", "0.1", "MeRcyLeZZ")
RegisterHam(Ham_TakeDamage, "player", "fw_TakeDamage")
}
// Ham Player Take Damage forward
public fw_TakeDamage(victim, inflictor, attacker, Float:damage, damage_type)
{
// Victim is not taking damage from a fall
if (!(damage_type & DMG_FALL))
return HAM_IGNORED;
// Victim is not a zombie
if (!zp_get_user_zombie(victim))
return HAM_IGNORED;
// Block the falling damage
return HAM_SUPERCEDE;
}
__________________