/ajail Help
#2

When formatting a number into a string use "%d" not "%s". Also,

pawn Код:
if(sscanf(params,"ds[64]",id,time,reason)) return SendClientMessage(playerid,GRAY,"CMD: /ajail <playerid> <minutes> <reason>");
Should be:

pawn Код:
if(sscanf(params,"uds[64]",id,time,reason)) return SendClientMessage(playerid,GRAY,"CMD: /ajail <playerid> <minutes> <reason>");
You forgot to put the "u" parameter for playerid.
Reply


Messages In This Thread
/ajail Help - by Noles2197 - 20.01.2013, 20:07
Re: /ajail Help - by Chenko - 20.01.2013, 20:11

Forum Jump:


Users browsing this thread: 2 Guest(s)