Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Renegade SSMods Archive
Re: Renegade SSMods Archive [message #367660 is a reply to message #367627] Sat, 17 January 2009 15:17 Go to previous messageGo to previous message
MacKinsey is currently offline  MacKinsey
Messages: 83
Registered: March 2008
Karma:
Recruit
mǻdrãçķz wrote on Sat, 17 January 2009 06:26

Very nice work reborn Thumbs Up Thanks very much



class RTCChatCommand : public ChatCommandClass {
	void Triggered(int ID,const TokenClass &Text,int ChatType) {
				if (Settings->EnableRTC) {
RequestTeamChange(Get_Player_Name_By_ID(ID));	
				}
	}
};
ChatCommandRegistrant<RTCChatCommand> RTCChatCommandReg("!Swap",CHATTYPE_ALL,0,GAMEMODE_ALL);


class RTC2ChatCommand : public ChatCommandClass {
	void Triggered(int ID,const TokenClass &Text,int ChatType) {
				if (Settings->EnableRTC) {
RequestTeamChange(Get_Player_Name_By_ID(ID));	
				}
	}
};
ChatCommandRegistrant<RTC2ChatCommand> RTC2ChatCommandReg("!SWAP",CHATTYPE_ALL,0,GAMEMODE_ALL);



class RTC3ChatCommand : public ChatCommandClass {
	void Triggered(int ID,const TokenClass &Text,int ChatType) {
				if (Settings->EnableRTC) {
RequestTeamChange(Get_Player_Name_By_ID(ID));	
				}
	}
};
ChatCommandRegistrant<RTC3ChatCommand> RTC3ChatCommandReg("!swap",CHATTYPE_ALL,0,GAMEMODE_ALL);



You can cutt the code Very Happy with "!Swap;!swap;!SWAP"

class RTC3ChatCommand : public ChatCommandClass {
	void Triggered(int ID,const TokenClass &Text,int ChatType) {
				if (Settings->EnableRTC) {
RequestTeamChange(Get_Player_Name_By_ID(ID));	
				}
	}
};
ChatCommandRegistrant<RTC3ChatCommand> RTC3ChatCommandReg("!Swap;!swap;!SWAP",CHATTYPE_ALL,0,GAMEMODE_ALL);



anyway, im gonna use my VET system for normall Points, no VET Points Very Happy


He already knows that... http://www.renegadeforums.com/index.php?t=msg&th=31489&start=0&rid=2 3751
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Make The Field TS Ref
Next Topic: get_part_name, chathooks and strings
Goto Forum:
  


Current Time: Sat Dec 21 03:46:28 MST 2024

Total time taken to generate the page: 0.00708 seconds