help with strcmp
#3

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.

Код:
*if(strcmp(params, "rz", giveplayerid, amount, price)) return SendClientMessageEx(playerid, 0x008FECFF, "Modo de uso: {FFFFFF}/vender rz [ID] [cantidad] [precio]");
See the problem?
Reply


Messages In This Thread
help with strcmp - by yancarlos4500 - 02.02.2014, 05:24
Re: help with strcmp - by CuervO - 02.02.2014, 05:29
Re: help with strcmp - by alex9419 - 02.02.2014, 05:31
Re: help with strcmp - by CuervO - 02.02.2014, 05:53
Re: help with strcmp - by alex9419 - 02.02.2014, 07:39
Re: help with strcmp - by yancarlos4500 - 03.02.2014, 15:04
Re: help with strcmp - by yancarlos4500 - 03.02.2014, 15:09
Re: help with strcmp - by yancarlos4500 - 03.02.2014, 18:20

Forum Jump:


Users browsing this thread: 1 Guest(s)