dialog wont show up.. Help please
#1

Well basically, the dialog is supposed to show up when a player spawns a civilian and choose the role "Theif" but idk wahts wrong, coz it does not shows up..
if i use SendClientMessage it does work, but i want it in dialog please tell me what wrong am i doing ??
Please help..





pawn Код:
new rname[MAX_PLAYER_NAME];
    GetPlayerName(playerid, rname, sizeof(rname));
    if(GetPlayerMenu(playerid) == Roles)
    {
        switch(row)
        {
            case 0: // Thief
            {
                SetPlayerTeam(playerid, THIEF);
                ShowPlayerDialog(playerid,0,DIALOG_STYLE_MSGBOX ,"Theif","You made your choice\nYou are now a Thief\nAs a Thief, you need to rob things\nTo see your role's commands, /rcommands","Ok","Cancel");
                ChoosingRole[playerid] = 0;
                TogglePlayerControllable(playerid, true);
                GivePlayerWeapon(playerid, 4, 1);
                GivePlayerWeapon(playerid, 24, 100);
                GivePlayerWeapon(playerid, 29, 250);
            }
Reply


Messages In This Thread
dialog wont show up.. Help please - by 0utLaW_ - 06.09.2012, 16:00
Re: dialog wont show up.. Help please - by ddnbb - 06.09.2012, 16:08
Re: dialog wont show up.. Help please - by mobiliz - 06.09.2012, 16:10
Re: dialog wont show up.. Help please - by ddnbb - 06.09.2012, 16:12
Re: dialog wont show up.. Help please - by CROSS_Hunter - 06.09.2012, 16:40

Forum Jump:


Users browsing this thread: 2 Guest(s)