Raised This Month: $ Target: $400
 0% 

Darkness.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 08-27-2009 , 14:23   Re: Darkness.
Reply With Quote #1

PHP Code:
#include <amxmodx> 
#include <engine>

new g_iCount;

new const 
g_szLightSettings[ ][ ] = { "e""d""b""a" };

#define TIME_DELAY 3.0
 
public plugin_init( ) {
    
register_plugin"Darkness""1.0""Mr.Noobie" );
    
set_task30.0"Darkness" );
}

public 
Darkness( ) {
    
set_lightsg_szLightSettingsg_iCount ] );
    if ( ++
g_iCount sizeofg_szLightSettings ) ) {
        
set_taskTIME_DELAY"Darkness" );
    }

__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Mr.Noobie
BANNED
Join Date: Apr 2009
Old 08-28-2009 , 05:35   Re: Darkness.
Reply With Quote #2

Quote:
Originally Posted by Exolent[jNr] View Post
PHP Code:
#include <amxmodx> 
#include <engine>
 
new g_iCount;
 
new const 
g_szLightSettings[ ][ ] = { "e""d""b""a" };
 
#define TIME_DELAY 3.0
 
public plugin_init( ) {
    
register_plugin"Darkness""1.0""Mr.Noobie" );
    
set_task30.0"Darkness" );
}
 
public 
Darkness( ) {
    
set_lightsg_szLightSettingsg_iCount ] );
    if ( ++
g_iCount sizeofg_szLightSettings ) ) {
        
set_taskTIME_DELAY"Darkness" );
    }

Also didn't work correctly. the light didn't stop functioning.

I want just like the Silent Hill Mod.
Mr.Noobie is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:58.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode