parameters with strcmp
#2

I don't see what do you wanna do.

If you wanna put variable parameters in strcmp, use format.

PHP код:

new string[256];
format(stringsizeof(string), "%d %d %d"playerid1playerid2amount);
if(!
strcmp(string"0 8 9999"false)) // if the string corresponds to playerid1 = 0; playerid 2 = 8 and amount = 9999, do : 
Reply


Messages In This Thread
parameters with strcmp - by Lajko1 - 12.06.2014, 17:00
Re : parameters with strcmp - by S4t3K - 12.06.2014, 17:05
Re: parameters with strcmp - by TakeiT - 12.06.2014, 17:11
Re : parameters with strcmp - by S4t3K - 12.06.2014, 17:15
Re: parameters with strcmp - by Lajko1 - 12.06.2014, 17:43
Re : parameters with strcmp - by S4t3K - 12.06.2014, 18:01
Re: parameters with strcmp - by Lajko1 - 12.06.2014, 18:11
Re: parameters with strcmp - by Lajko1 - 12.06.2014, 21:45
Re: parameters with strcmp - by Jefff - 12.06.2014, 22:23
Re: parameters with strcmp - by Lajko1 - 13.06.2014, 05:09

Forum Jump:


Users browsing this thread: 1 Guest(s)