String with time?
#2

If I got you right.

pawn Код:
COMMAND:jail(playerid, params[])
{
   new
      player,
      minutes;
   if (sscanf(params, "dd", player, minutes))
   {
      SendClientMessage(playerid, -1, "Usage: /jail [player] [minutes]");
      return 1;
   }
   new
      string[50];
   format(string, sizeof string, "You have jailed player ID %d for %d minutes.", player, minutes);
   SendClientMessage(playerid, -1, string);
   return 1;
}
Reply


Messages In This Thread
String with time? - by Gooday - 26.08.2012, 13:58
Re: String with time? - by Universal - 26.08.2012, 14:02
Re: String with time? - by Gooday - 26.08.2012, 14:16

Forum Jump:


Users browsing this thread: 1 Guest(s)