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 #330296 is a reply to message #330289] Mon, 12 May 2008 22:01 Go to previous messageGo to previous message
ExEric3 is currently offline  ExEric3
Messages: 746
Registered: February 2005
Location: Slovakia
Karma:
Colonel
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.
 
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:58:54 MST 2025

Total time taken to generate the page: 0.01124 seconds