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 #330772 is a reply to message #330103] Fri, 16 May 2008 12:06 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)
can u tell me why this wont work?

class greenChatCommand : public ChatCommandClass {
void Triggered(int ID,const TokenClass &Text,int ChatType) {
Commands->Set_Screen_Fade_Color(0.0f,255.0f,0.0f,3.5f);
}
};

ChatCommandRegistrant<greenChatCommand> greenChatCommandReg("!green",CHATTYPE_ALL,0,GAMEMODE_ALL);


heres how i try to learn from

typedef void (*_Set_Screen_Fade_Color_Player) (GameObject *obj,float red,float green,float blue,float transition);


im guessing it may make shit green like iv seen servers turn the sky green and red and blue
 
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:17:12 MST 2025

Total time taken to generate the page: 0.01702 seconds