Some help ?
#5

sscanf returns 0 on success, therefore this:

if(sscanf(params, "ud", id, amount))
should be

if(!sscanf(params, "ud", id, amount))

the line you wrote means: "check to see if params doesn't have parameters ID and amount."


@PawnHunter: if you can't see whats wrong, it's simple not to answer bro, indentation doesn't make code work wrong !
Reply


Messages In This Thread
Some help ? - by SpikeSpigel - 29.10.2015, 21:03
Re: Some help ? - by Private200 - 29.10.2015, 22:38
Re: Some help ? - by SpikeSpigel - 30.10.2015, 08:55
Re: Some help ? - by iKarim - 30.10.2015, 09:06
Re: Some help ? - by PrO.GameR - 30.10.2015, 09:22

Forum Jump:


Users browsing this thread: 1 Guest(s)