Re: Renegade SSMods Archive [message #367660 is a reply to message #367627] |
Sat, 17 January 2009 15:17 |
MacKinsey
Messages: 83 Registered: March 2008
Karma:
|
Recruit |
|
|
mǻdrãçķz wrote on Sat, 17 January 2009 06:26 | Very nice work reborn 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 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
|
He already knows that... http://www.renegadeforums.com/index.php?t=msg&th=31489&start=0&rid=2 3751
|
|
|