Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » !rtc c++
!rtc c++ [message #451012] Mon, 08 August 2011 14:56 Go to previous message
SODPaddy is currently offline  SODPaddy
Messages: 233
Registered: August 2005
Location: Germany
Karma:
Recruit

Hey, im trying to create !rtc (request teamchange)

i found this source code in SSGM2.0.2XWFDS / http://www.renegadeforums.com/index.php?t=msg&goto=437221&rid=19922& srch=SSGM2.0.2XWFDS#msg_437221

SSGM2.0.2XWFDS doesnt support Veteran.dll so i need to add !rtc myself



Quote:

class RTCChatCommand : public ChatCommandClass {
void Triggered(int ID,const TokenClass &Text,int ChatType) {
if (SwapCheck(ID) == false) {
RequestTeamChange(Get_Player_Name_By_ID(ID));
}
else {
Console_Input(StrFormat("ppage %d You have already swapped once this map.",ID).c_str());
}
}
};
ChatCommandRegistrant<RTCChatCommand> RTCChatCommandReg("!swap;!rtc;!requestteamchange",CHATTYPE_ALL,0,GAMEMODE_ALL);


my problem:

1>.\gmmain.cpp(1321) : error C3861: "SwapCheck": Bezeichner wurde nicht gefunden.
1>.\gmmain.cpp(1322) : error C3861: "RequestTeamChange": Bezeichner wurde nicht gefunden.

I dont found SwapCheck or RequestTeamChange in header files


sorry, my english is very bad - my last English school lesson is many years ago Very Happy


Website: www.Area54.eu

Once 54, Always 54.
(\__/)
(O.o )
(___)
Visit us at www.Area54.eu

[Updated on: Mon, 08 August 2011 15:00]

Report message to a moderator

 
Read Message
Read Message
Previous Topic: renx texture efects
Next Topic: Looking for names of the public, team and private message sounds
Goto Forum:
  


Current Time: Thu Dec 19 00:15:26 MST 2024

Total time taken to generate the page: 0.00616 seconds