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 #367627 is a reply to message #350321] Sat, 17 January 2009 05:26 Go to previous messageGo to previous message
mrãçķz is currently offline  mrãçķz
Messages: 3069
Registered: August 2007
Karma:
General (3 Stars)
Permabanned for trying and failing DDoS
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

[Updated on: Sat, 17 January 2009 06:02]

Report message to a moderator

 
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 04:01:40 MST 2024

Total time taken to generate the page: 0.00779 seconds