Raised This Month: $ Target: $400
 0% 

Lighting level on Nemesis round


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
GraviAnt
Senior Member
Join Date: Oct 2010
Old 01-18-2015 , 10:02   Lighting level on Nemesis round
Reply With Quote #1

Is there a way to change lighting level just on Nemesis round?
GraviAnt is offline
ghost95v
Senior Member
Join Date: Apr 2014
Location: somewhere in universe
Old 01-18-2015 , 10:32   Re: Lighting level on Nemesis round
Reply With Quote #2

for wich ZP version ?
__________________
ghost95v is offline
Send a message via Skype™ to ghost95v
GraviAnt
Senior Member
Join Date: Oct 2010
Old 01-18-2015 , 10:35   Re: Lighting level on Nemesis round
Reply With Quote #3

4.3 fix5a
GraviAnt is offline
ghost95v
Senior Member
Join Date: Apr 2014
Location: somewhere in universe
Old 01-18-2015 , 10:43   Re: Lighting level on Nemesis round
Reply With Quote #4

just try this.

3 lines lol
PHP Code:
#include <amxmodx>
#include <zombieplague>
public zp_round_started() { if( zp_is_nemesis_round() )server_cmd("zp_lightnig w");} // "w" is the value, you can change to whatever yu want. 
__________________

Last edited by ghost95v; 01-18-2015 at 11:05.
ghost95v is offline
Send a message via Skype™ to ghost95v
GraviAnt
Senior Member
Join Date: Oct 2010
Old 01-18-2015 , 11:02   Re: Lighting level on Nemesis round
Reply With Quote #5

Not working...
GraviAnt is offline
ghost95v
Senior Member
Join Date: Apr 2014
Location: somewhere in universe
Old 01-18-2015 , 11:05   Re: Lighting level on Nemesis round
Reply With Quote #6

Quote:
Originally Posted by GraviAnt View Post
Not working...
i updated the code
__________________
ghost95v is offline
Send a message via Skype™ to ghost95v
GraviAnt
Senior Member
Join Date: Oct 2010
Old 01-18-2015 , 11:30   Re: Lighting level on Nemesis round
Reply With Quote #7

Still not working :/
GraviAnt is offline
bat
Veteran Member
Join Date: Jul 2012
Old 01-18-2015 , 11:40   Re: Lighting level on Nemesis round
Reply With Quote #8

PHP Code:
#include amxmodx
#include zombieplague

public zp_round_started(gamemode)
    if(
gamemode == MODE_NEMESISserver_cmd("zp_lightnig a"// Dark light 
__________________
bat is offline
Send a message via Skype™ to bat
GraviAnt
Senior Member
Join Date: Oct 2010
Old 01-18-2015 , 12:04   Re: Lighting level on Nemesis round
Reply With Quote #9

Quote:
Originally Posted by bat View Post
PHP Code:
#include amxmodx
#include zombieplague

public zp_round_started(gamemode)
    if(
gamemode == MODE_NEMESISserver_cmd("zp_lightnig a"// Dark light 
This one works but on the next round lighting stays on ''a'' level, it doesn't change back the way it was...

And there is a writing mistake in ''zp_lightnig'', so watch for that when testing.
GraviAnt is offline
bat
Veteran Member
Join Date: Jul 2012
Old 01-18-2015 , 12:14   Re: Lighting level on Nemesis round
Reply With Quote #10

You can use that

PHP Code:
#include amxmodx
#include zombieplague

public plugin_init() register_event("HLTV""event_round_start""a""1=0""2=0")

public 
zp_round_started(gamemode)
    if(
gamemode == MODE_NEMESISserver_cmd("zp_lightnig a"// Dark light

public event_round_start() server_cmd("zp_lightnig d"
__________________
bat is offline
Send a message via Skype™ to bat
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 03:19.


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