[Ajuda] Format / Comando
#2

pawn Код:
CMD:vencimento(playerid)
{
    if ( !IsPlayerVIP(playerid)) return SendClientMessage(playerid, Default, "| ERRO | {FFFFFF}Vocк nгo й VIP.");
    new Str[100], Name[24];
    GetPlayerName(playerid, Name, 24);
    format ( Str, sizeof Str, "{FFFFFF}Conta VIP: %s \n\n Vencimento: %d dias", Name, GetExpirationDays(playerid));
    ShowPlayerDialog(playerid, 775+1, DIALOG_STYLE_MSGBOX, "{FFFFFF}Vencimento VIP ", Str, "Fechar", "");
    return 1;
}
Para que entenda: estava invertido Name e GetExpirationDays(playerid).
Reply


Messages In This Thread
Format / Comando - by Nenzittow - 11.08.2014, 23:51
Re: Format / Comando - by Bruno13 - 11.08.2014, 23:54
Re: Format / Comando - by Nenzittow - 11.08.2014, 23:57

Forum Jump:


Users browsing this thread: 1 Guest(s)