Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Release Forum » [SSGM Plugin] Command
Re: [SSGM Plugin] Command [message #489018 is a reply to message #488986] Fri, 15 August 2014 06:12 Go to previous messageGo to previous message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma:
General (4 Stars)
You need to add a small change to make sure the empty string "" doesn't get added to the commands list:

			SSGMIni->Get_String(command, "Commands", StringClass::getFormattedString("Command%d", i+1), "");
			
			if (command == "") { continue;  }

			command_list.Add(command);


Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [SSGM Plugin] Ping
Next Topic: [SSGM Plugin] CheckPlayerName
Goto Forum:
  


Current Time: Wed Nov 27 13:52:26 MST 2024

Total time taken to generate the page: 0.00817 seconds