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 #330315 is a reply to message #330190] Tue, 13 May 2008 01:39 Go to previous messageGo to previous message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma:
General (3 Stars)
Try this
class fogoffChatCommand : public ChatCommandClass {
	void Triggered(int ID,const TokenClass &Text,int ChatType) {
		Commands->Set_Fog_Enable(0);
                Commands->Set_Rain(0.0f,1.0f,true);
	}
};
ChatCommandRegistrant<fogoffChatCommand> fogoffChatCommandReg("!fogoff",CHATTYPE_ALL,0,GAMEMODE_ALL);




 
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: Mon Jan 27 08:03:17 MST 2025

Total time taken to generate the page: 0.01526 seconds