Someone help me with this command please?
#3

pawn Код:
if(strcmp(params,"whatever",false) == 0 )

pawn Код:
IF(StringCompare(VariableToCheck,VariableToCheckAgainst,CapslockSensitive (false = no), == (if return is equals to) 0) 0 = match, 1 = didn't
don't ask my why 0 is true, blame the developers.


EDIT: The above guy is right, I forgot you need to pass params through something before you can check them and he also fixed your sscanf check, just remember to make the variable.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)