LOL Strange (Haven`t seen this before)
#1

Hello everybody.I haven`t seen this before but it`s very strange bug

SS:


CODE:
pawn Код:
CMD:stats(playerid,params[])
{
    new string[150],pName[MAX_PLAYER_NAME],h,m,s;
    GetPlayerName(playerid,pName,sizeof(pName));
    format(string,sizeof(string),""embed_blue"%s "embed_white"stats\n\
                                "
embed_blue"Admin Level:"embed_white"%d\n\
                                "
embed_blue"Money:"embed_white"%d$\n\
                                "
embed_blue"Score:"embed_white"%d\n\
                                "
embed_blue"Kills:"embed_white"%d\n\
                                "
embed_blue"Deaths:"embed_white"%d\n\
                                "
embed_blue"Total In Game Time:"embed_white"%d,%d,%d",
                                pName,
                                pInfo[playerid][pLevel],
                                pInfo[playerid][pMoney],
                                pInfo[playerid][pScore],
                                pInfo[playerid][pKills],
                                pInfo[playerid][pDeaths],
                                h,
                                m,
                                s);

    ShowPlayerDialog(playerid,DIALOG_STYLE_MSGBOX,1234,""embed_white"Stats",string,"Ok","");
    return 1;
}
Reply
#2

chek you
Код:
ShowPlayerDialog(playerid,DIALOG_STYLE_MSGBOX,1234,
Replace with

Код:
ShowPlayerDialog(playerid,1234,DIALOG_STYLE_MSGBOX
Edit:

You are change place of dialog id and dialog style
Reply
#3

ShowPlayerDialog(playerid,1234,DIALOG_STYLE_MSGBOX ,""embed_white"Stats",string,"Ok","");

Dafaq? How is this possible, your using the MSGBOX style, but your SS is showing the password style...

Did you show us the wrong script?
Reply
#4

Conflicts between dialogs. Just Change the dialog's id's, it may fix.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)