MUILI Dialog
#5

Quote:
Originally Posted by SilentSoul
Посмотреть сообщение
I guess you have already done what you want. just send this message when he connects, like
pawn Код:
enum p_data
{
    personalmsg[128]//make sure you've added this array which makes it a string later
};
new PlayerInfo[MAX_PLAYERS][p_data];
public OnPlayerConnect(playerid)
{
    new
        str[126];
    format(str, sizeof(str), "Your personal message is: %s", PlayerInfo[playerid][personalmsg]);
    SendClientMessage(playerid, -1, str);
//or show him a dialog if you want.
        ShowPlayerDialog(playerid, dialogid, DIALOG_STYLE_MSGBOX, "Personal Message", str, "Close", "");
    return true;
}
If I am wrong, please explain more. or show errors if there is any.
No not Onplayerconnect. not a single dialog. i want a muli dialog. which i can do more inside of it . but it need to be in /cp command

It's like a weapon system. but togeter dialog
Reply


Messages In This Thread
MUILI Dialog - by DerickClark - 28.01.2017, 04:56
Re: MUILI Dialog - by AndreiWow - 28.01.2017, 05:04
Re: MUILI Dialog - by DerickClark - 28.01.2017, 05:12
Re: MUILI Dialog - by SilentSoul - 28.01.2017, 08:48
Re: MUILI Dialog - by DerickClark - 28.01.2017, 16:07

Forum Jump:


Users browsing this thread: 1 Guest(s)