Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » isin function
isin function [message #456777] Tue, 04 October 2011 06:56 Go to previous message
robbyke is currently offline  robbyke
Messages: 348
Registered: September 2010
Location: Belgium
Karma:
Recruit
In the old scripts there was this function :

bool isin(string String,string Search) {
	if (String.find(Search) != std::string::npos) return true;
	return false;
}


however in the new 4.0 im not suppossed to use the std classes but i dont understand anything of the new string classes and cant find any information about it.

any help would be appreciated.


Owner of kambot TT server

kambot.freeforums.org
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: TCW_Temple
Next Topic: Introducing Rp2 C&C Mode!
Goto Forum:
  


Current Time: Mon Dec 02 08:40:12 MST 2024

Total time taken to generate the page: 0.00664 seconds