10.03.2013, 22:30
as i can see that you put integer %f instead of integer %d or %i
on your sscanf it should be like this
AND
on your /jail string it should be like this
on your sscanf it should be like this
pawn Code:
if(sscanf(params,"dd",id,time)) return SendClientMessage(playerid, 0xFF0000AA, "USAGE: /jail <playerid> <time> ");
on your /jail string it should be like this
pawn Code:
format(str, sizeof(str), "Admin %s has put %s [ID:%d] in jail for %d minutes", admin, Jailed, id, time);
SendClientMessageToAll(COLOR_ORANGE, str);