Raised This Month: $ Target: $400
 0% 

Light


Post New Thread Reply   
 
Thread Tools Display Modes
Yuri
Senior Member
Join Date: May 2005
Location: Yuri's Cyber Cafe
Old 07-12-2005 , 11:09  
Reply With Quote #21

Wtf, This Is not meant for Cstrike. oh and Mobytoss, the light brightness doesn't change at all with that exact code I showed you.
Yuri is offline
Stephen
Senior Member
Join Date: Aug 2004
Old 07-12-2005 , 11:56  
Reply With Quote #22

Code:
#include <amxmodx> #include <engine> public plugin_init() {    register_plugin("Light","1.0","Stephen");    register_clcmd("Norm","light")    register_clcmd("bright","lightbright")    register_clcmd("dark","lightdark")        return PLUGIN_CONTINUE; } //Light Changer public light(id) {     set_lights("m");//Normal     return 1; } public lightbright(id) {     set_lights("z");//Bright     return 1; } public lightdark(id) {     set_lights("a");//Dark     return 1; }

That should work cause thats the Code im using and it Works
Stephen is offline
Yuri
Senior Member
Join Date: May 2005
Location: Yuri's Cyber Cafe
Old 07-12-2005 , 13:20  
Reply With Quote #23

Would dis work?

Code:
#include <amxmodx> #include <engine> public plugin_init() {    register_plugin("Namet","Version","Author");    register_clcmd("dark","light1")        return PLUGIN_CONTINUE; } // teh meckzor public light1(id) {     set_lights("t");//Normal     return 1; }

What am I kidding? Of course It will work.
Yuri is offline
Yuri
Senior Member
Join Date: May 2005
Location: Yuri's Cyber Cafe
Old 07-12-2005 , 13:21  
Reply With Quote #24

btw, thanks.
Yuri is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 07-12-2005 , 14:26  
Reply With Quote #25

Tinker with this:
Code:
#include <amxmodx> #include <amxmisc> #include <engine> public plugin_init() {     register_plugin("Light Tester","0.1","v3x")     register_clcmd("amx_lights","CmdLights",ADMIN_KICK," <letter>") } public CmdLights(id,level,cid) {     if(!cmd_access(id,level,cid,2))         return PLUGIN_HANDLED     new szArg[32]     read_argv(1,szArg,31)     if( !strlen(szArg) )         return PLUGIN_HANDLED     set_lights(szArg)     console_print(id,"Lights: %s",szArg)     return PLUGIN_HANDLED }
amx_lights <letter>

Test it with letters only.
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
Yuri
Senior Member
Join Date: May 2005
Location: Yuri's Cyber Cafe
Old 07-12-2005 , 21:12  
Reply With Quote #26

Yay! Thanks v3xy.
Yuri is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 07-12-2005 , 21:19  
Reply With Quote #27

Although "amx_lights #OFF" should work.. ;)
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
Yuri
Senior Member
Join Date: May 2005
Location: Yuri's Cyber Cafe
Old 07-12-2005 , 22:44  
Reply With Quote #28

Ahh, Now people are saying that the map Is all flashy. waaah
Yuri is offline
mobytoss
Senior Member
Join Date: Jun 2004
Location: On my TS server
Old 07-13-2005 , 11:13  
Reply With Quote #29

It worked fine when I used it in my time mod :/
__________________
"As we know, There are known knowns. There are things we know we know. We also know There are known unknowns. That is to say We know there are some things We do not know. But there are also unknown unknowns, The ones we don't know We don't know."
mobytoss is offline
Yuri
Senior Member
Join Date: May 2005
Location: Yuri's Cyber Cafe
Old 07-13-2005 , 12:06  
Reply With Quote #30

How Is that helping? lolz.
Yuri 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:24.


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