/jail-/unjail commands problem
#2

as i can see that you put integer %f instead of integer %d or %i

on your sscanf it should be like this
pawn Code:
if(sscanf(params,"dd",id,time)) return SendClientMessage(playerid, 0xFF0000AA, "USAGE: /jail <playerid> <time> ");
AND

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);
Reply


Messages In This Thread
/jail-/unjail commands problem - by HurtLocker - 10.03.2013, 22:25
Re: /jail-/unjail commands problem - by Patrick - 10.03.2013, 22:30
Re: /jail-/unjail commands problem - by HurtLocker - 10.03.2013, 22:40
Re: /jail-/unjail commands problem - by tyler12 - 10.03.2013, 23:15
Re: /jail-/unjail commands problem - by HurtLocker - 10.03.2013, 23:51
Re: /jail-/unjail commands problem - by Denying - 11.03.2013, 04:55
Re: /jail-/unjail commands problem - by HurtLocker - 11.03.2013, 15:55

Forum Jump:


Users browsing this thread: 1 Guest(s)