Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Script Request  () 1 Vote
Re: Script Request [message #330311 is a reply to message #330296] Tue, 13 May 2008 01:11 Go to previous messageGo to previous message
_SSnipe_ is currently offline  _SSnipe_
Messages: 4121
Registered: May 2007
Location: Riverside Southern Califo...
Karma:
General (4 Stars)
ExEric3 wrote on Mon, 12 May 2008 22:01

SSnipe wrote on Tue, 13 May 2008 05:06

itworks now how i turn it off lol?
will this work

class fogChatCommand : public ChatCommandClass {
void Triggered(int ID,const TokenClass &Text,int ChatType) {
Commands->Set_Fog_Enable(o);
Commands->Set_Fog_Range (0.5,25.0f,3.5f);
Commands->Set_Rain(10.0f,3.5f,false);
}
};
ChatCommandRegistrant<fogChatCommand> fogChatCommandReg("!fogoff",CHATTYPE_ALL,0,GAMEMODE_ALL);


And what about timers?

It's harder but if you look better on reborn's codes Im sure you will know it.



naw its for testing something and some filming...on and off command well do
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Questions on scripting.
Next Topic: Commands
Goto Forum:
  


Current Time: Sun Jan 26 17:33:14 MST 2025

Total time taken to generate the page: 0.01372 seconds