Strfind question
#6

Sorry, but for me this works

Код:
public OnGameModeInit()
{
	new s[25] = "(28)\tball\n", g[8];
	strmid(g, s, 1, strfind(s, ")"));
	printf("score: %d", strval(g));
	return 1;
}
It shows in the console 28. Show more code.
Reply


Messages In This Thread
Strfind question - by Supermaxultraswag - 24.02.2015, 14:59
Re: Strfind question - by ball - 24.02.2015, 15:08
Re: Strfind question - by Supermaxultraswag - 24.02.2015, 15:26
Re: Strfind question - by DRIFT_HUNTER - 24.02.2015, 15:27
Re: Strfind question - by Supermaxultraswag - 24.02.2015, 15:31
Re: Strfind question - by ball - 24.02.2015, 16:08
Re: Strfind question - by Supermaxultraswag - 24.02.2015, 17:06
Re: Strfind question - by ball - 24.02.2015, 17:36
Re: Strfind question - by dominik523 - 24.02.2015, 18:02

Forum Jump:


Users browsing this thread: 1 Guest(s)