Raised This Month: $ Target: $400
 0% 

set_lights (errors)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Mini_Midget
Veteran Member
Join Date: Jan 2006
Location: It's a mystery.
Old 06-06-2006 , 08:05   set_lights (errors)
Reply With Quote #1

Code:
#include <amxmodx> #include <fun> public plugin_init() {     register_cvar("amx_zbot_dark","1") public dark() {     if (get_cvar_num("amx_zbot_dark"))         {         set_hudmessage(255,255,255,-1.0,0.35,1,6.0,6.0,0.1,0.1,4);         show_hudmessage(0,"Dark Mode has been ENABLED!");         set_lights("c");     }         else if(get_cvar_num("amx_zbot_dark"))         {         set_hudmessage(255,255,255,-1.0,0.35,1,6.0,6.0,0.1,0.1,4);         show_hudmessage(0,"Dark Mode has been DISABLED!");         set_lights("#OFF")     }     return PLUGIN_HANDLED }
thats just a bit of my mod i'm working on and i compiled it but i get 2 errors to do wiht the "set_lights" parts
btw, i'm trying to make one team have night vision goggles at the start of the game and i tried to use give_item but soon found out that there was no command for it...
__________________
It's a mystery.
Mini_Midget is offline
 



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:27.


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