/ticket not working
#3

Maybe its this?

Код:
if(sscanf(params, "u", criminal, amount)) return SendClientMessage(playerid, COLOR_GREY, "[Usage:] /ticket [ID] [price].");
should be:
Код:
if(sscanf(params, "ui", criminal, amount)) return SendClientMessage(playerid, COLOR_GREY, "[Usage:] /ticket [ID] [price].");
you were missing the "i" after "u", since you have two params you only specified one so no value was set for the amount
Reply


Messages In This Thread
/ticket not working - by Chrillzen - 13.10.2014, 16:49
Re: /ticket not working - by YanLanger - 13.10.2014, 16:50
Re: /ticket not working - by Shaneisace - 13.10.2014, 16:52
Re: /ticket not working - by Chrillzen - 13.10.2014, 16:58

Forum Jump:


Users browsing this thread: 2 Guest(s)