Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » co-op server
Re: co-op server [message #220392 is a reply to message #220363] Tue, 19 September 2006 08:19 Go to previous messageGo to previous message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma:
General (3 Stars)
Ivan275 wrote on Tue, 19 September 2006 09:22

[
			else if (!Is_Soldier(shooter))
			{
				char KillMsg[512];
				sprintf(KillMsg,"The %s killed %s (%s)",Translate_Preset(shooter),Get_Player_Name(obj),Get_Preset_Info(obj));
				FDSMessage(KillMsg,"_PLAYERKILL");
			}
			else if (Get_Player_ID(shooter)==-1)
			{
				char KillMsg[512];
				sprintf(KillMsg,"The %s killed %s (%s)",Translate_Preset(shooter),Get_Player_Name(obj),Get_Preset_Info(obj));
				FDSMessage(KillMsg,"_PLAYERKILL");
			}
			else
			{
				std::string killer(Get_Player_Name(shooter)),




it can be done like this:

			else if (!Is_Soldier(shooter) || Get_Player_ID(shooter)==-1)
			{
				char KillMsg[512];
				sprintf(KillMsg,"The %s killed %s (%s)",Translate_Preset(shooter),Get_Player_Name(obj),Get_Preset_Info(obj));
				FDSMessage(KillMsg,"_PLAYERKILL");
			}
			else
			{
				std::string killer(Get_Player_Name(shooter)),



Razz Razz Razz



[Updated on: Tue, 19 September 2006 08:20]

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
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: new scripts.dll feature planned for 3.0, feedback wanted
Next Topic: CnC Reborn : Titan Version 2
Goto Forum:
  


Current Time: Mon Dec 23 16:02:26 MST 2024

Total time taken to generate the page: 0.00876 seconds