/arrest bug
#3

Replace:
pawn Код:
if(sscanf(params, "uis[64]", playerb, time, params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /arrest [playerid] [minutes]");
with this:
pawn Код:
if(sscanf(params, "ui", playerb, time)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /arrest [playerid] [minutes]");
EDIT: @Brandon_More the way you wrote the sscanf part would print the warning each time when the command would be executed because you have to specify the length of the 's' specifier.
Reply


Messages In This Thread
/arrest bug - by Cat Cola - 16.12.2013, 16:21
Re: /arrest bug - by Brandon_More - 16.12.2013, 16:42
Re: /arrest bug - by dominik523 - 16.12.2013, 18:32

Forum Jump:


Users browsing this thread: 1 Guest(s)