Quote:
Originally Posted by xPaw
I dont know how you tested... but for me it worked.
|
I think my zombie plague is affecting. I will test it later with my zombie plague off.
EDIT: it work for non - zombie plague. But i want it for zombie how ?
PHP Code:
#include <amxmodx>
#include <zombieplague>
new Count
new const g_szLightSettings[ ][ ] = { "e", "d", "b", "a" }
#define TIME_DELAY 3.0
public plugin_init( )
{
register_plugin( "Darkness", "1.0", "Mr.Noobie" )
set_task( 30.0, "Darkness" )
}
public Darkness( )
{
zp_lighting( g_szLightSettings[ Count ] )
if ( ++Count < sizeof( g_szLightSettings ) )
{
set_task( TIME_DELAY, "Darkness" )
}
}
Error compile underfined symbol zp_lighting. I know cos zombieplague doesn't have this format so how ?