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