02.02.2014, 05:31
You're not utilizing the strcmp function correctly (if you are referring to the commented out code). Strcmp compares two strings, and sscanf dissects a string into variables.
See the problem?
Код:
*if(strcmp(params, "rz", giveplayerid, amount, price)) return SendClientMessageEx(playerid, 0x008FECFF, "Modo de uso: {FFFFFF}/vender rz [ID] [cantidad] [precio]");