12.06.2014, 17:05
I don't see what do you wanna do.
If you wanna put variable parameters in strcmp, use format.
If you wanna put variable parameters in strcmp, use format.
PHP код:
new string[256];
format(string, sizeof(string), "%d %d %d", playerid1, playerid2, amount);
if(!strcmp(string, "0 8 9999", false)) // if the string corresponds to playerid1 = 0; playerid 2 = 8 and amount = 9999, do :