Raised This Month: $ Target: $400
 0% 

cs_estate lights help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
oxygen935
Veteran Member
Join Date: Jun 2012
Location: Athens, Greece
Old 05-12-2013 , 11:22   cs_estate lights help
Reply With Quote #1

Hey guys,
I'm wondering if exist any possible way to turn lights down inside the house in cs_estate??
With set_lights it set the lights out the house no inside...
They exist 2 button(1 behind the house, it's a big box, and one below the stairs)
How can i automatically put those buttons so the players needn't to push them?

Please help me...

Thanks in advance,
Oxygen
__________________
Quote:
Originally Posted by quark View Post
You're a genius
Stopped any pawn work cause of university for computer science
oxygen935 is offline
Send a message via Skype™ to oxygen935
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 05-12-2013 , 12:13   Re: cs_estate lights help
Reply With Quote #2

Code:
#include <amxmodx> #include <fakemeta> #include <hamsandwich> public plugin_precache() {     register_plugin( "Light Start Off", "1.0", "Arkshine" );     RegisterHam( Ham_Spawn, "light", "OnLightSpawn" ); } public OnLightSpawn( const light ) {     if( pev( light, pev_targetname ) )     {         set_pev( light, pev_spawnflags, SF_LIGHT_START_OFF );     } }


It will turn off all toggable lights.
__________________

Last edited by Arkshine; 05-12-2013 at 12:15.
Arkshine is offline
oxygen935
Veteran Member
Join Date: Jun 2012
Location: Athens, Greece
Old 05-12-2013 , 12:24   Re: cs_estate lights help
Reply With Quote #3

i think that this turn all togglable lights down on round start/player spawn. Right?
Any idea on how to do it with command??
__________________
Quote:
Originally Posted by quark View Post
You're a genius
Stopped any pawn work cause of university for computer science
oxygen935 is offline
Send a message via Skype™ to oxygen935
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 05-12-2013 , 12:26   Re: cs_estate lights help
Reply With Quote #4

Quote:
Originally Posted by oxygen935 View Post
i think that this turn all togglable lights down on round start/player spawn. Right?
Any idea on how to do it with command??
And do you have any idea on how to properly post a request so all info is written in first instance ?
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
oxygen935
Veteran Member
Join Date: Jun 2012
Location: Athens, Greece
Old 05-12-2013 , 12:28   Re: cs_estate lights help
Reply With Quote #5

Quote:
Originally Posted by ConnorMcLeod View Post
And do you have any idea on how to properly post a request so all info is written in first instance ?
i actually forgot this.
I'm Sorry.
__________________
Quote:
Originally Posted by quark View Post
You're a genius
Stopped any pawn work cause of university for computer science
oxygen935 is offline
Send a message via Skype™ to oxygen935
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 05-12-2013 , 12:28   Re: cs_estate lights help
Reply With Quote #6

Just one time at map starts.

Now you ask a command. Is that hard to ask AT FIRST what you want EXACTLY ?

So, here the question : WHAT DO YOU WANT EXACTLY ?
__________________

Last edited by Arkshine; 05-12-2013 at 12:28.
Arkshine is offline
oxygen935
Veteran Member
Join Date: Jun 2012
Location: Athens, Greece
Old 05-12-2013 , 12:34   Re: cs_estate lights help
Reply With Quote #7

i want to turn all lights down with a command like /lights...
__________________
Quote:
Originally Posted by quark View Post
You're a genius
Stopped any pawn work cause of university for computer science
oxygen935 is offline
Send a message via Skype™ to oxygen935
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 05-12-2013 , 12:43   Re: cs_estate lights help
Reply With Quote #8

"like" ? What type of command ? Access level ? What command name exactly ? You think people are clairvoyant or what ? You give no details.

I guess you don't want the plugin, you don't answer the question. Thanks for wasting people's time. Skipping thread.
__________________

Last edited by Arkshine; 05-12-2013 at 12:48.
Arkshine is offline
oxygen935
Veteran Member
Join Date: Jun 2012
Location: Athens, Greece
Old 05-12-2013 , 12:46   Re: cs_estate lights help
Reply With Quote #9

the like goes to the command. I mean i don't have any problem with what command you put on the plugin.
The name of the command doesn't matter.

Again to make myself clear,
can u make to turning all the toggleable light down with /lights command?

I guess it easy to understand...
__________________
Quote:
Originally Posted by quark View Post
You're a genius
Stopped any pawn work cause of university for computer science
oxygen935 is offline
Send a message via Skype™ to oxygen935
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 16:24.


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