/ticket not working
#1

Solved.
Reply
#2

post ur errors
Reply
#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
#4

Haha, damn I'm stupid. Thanks Shane.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)