Dialog
#1

hello, i have a piece of code here which i would like in dialog. (i mean all the messages) it appear when player spawns so whenever player choose role as theif and spawn all the messages appear to them in a dialog instead in chatbox.

pawn Код:
new rname[MAX_PLAYER_NAME];
    GetPlayerName(playerid, rname, sizeof(rname));
    if(GetPlayerMenu(playerid) == Roles)
    {
        switch(row)
        {
            case 0: // Thief
            {
                SetPlayerTeam(playerid, THIEF);
                SendClientMessage(playerid, LIGHT_BLUE, "You made your choice. You are now a Thief.");
                SendClientMessage(playerid, LIGHT_BLUE, "As a Thief, you need to rob things.");
                SendClientMessage(playerid, LIGHT_BLUE, "To see your role's commands, type: /rcommands");
                ChoosingRole[playerid] = 0;
                TogglePlayerControllable(playerid, true);
                GivePlayerWeapon(playerid, 4, 1);
                GivePlayerWeapon(playerid, 24, 100);
                GivePlayerWeapon(playerid, 29, 250);
            }
Any help is kind and appricieated.
Reply


Messages In This Thread
Dialog - by 0utLaW_ - 05.09.2012, 10:43
Re: Dialog - by 0utLaW_ - 05.09.2012, 14:59
Re: Dialog - by RanSEE - 05.09.2012, 15:05
Re: Dialog - by 0utLaW_ - 05.09.2012, 15:09

Forum Jump:


Users browsing this thread: 1 Guest(s)