Command don't work..
#1

Код:
if (strcmp("/editorcmd", cmdtext, true, 10) == 0)
	{
 		if (PlayerInfo[playerid][pAdmin] >= 4)
    	{
        	ShowPlayerDialog(playerid, DIALOG_MAIN_MENU, DIALOG_STYLE_LIST, "WestSide Object Editor", "Create object\nSearch object models\nDelete object\nEdit object\nSave object\nLoad objects", "Select", "Cancel");
    	}
    	return 1;
	}
Reply
#2

pawn Код:
if (strcmp("/editorcmd", cmdtext, true, 10) == 0)
{
    if (PlayerInfo[playerid][pAdmin] >= 4)
    {
        ShowPlayerDialog(playerid, DIALOG_MAIN_MENU, DIALOG_STYLE_LIST, "WestSide Object Editor", "Create object\nSearch object models\nDelete object\nEdit object\nSave object\nLoad objects", "Select", "Cancel");
        return 1;
    }
    return 0;
}
Reply
#3

What does not work?
Be more precise.
Does it show the dialog on screen?
Reply
#4

Quote:
Originally Posted by Misiur
Посмотреть сообщение
pawn Код:
if (strcmp("/editorcmd", cmdtext, true, 10) == 0)
{
    if (PlayerInfo[playerid][pAdmin] >= 4)
    {
        ShowPlayerDialog(playerid, DIALOG_MAIN_MENU, DIALOG_STYLE_LIST, "WestSide Object Editor", "Create object\nSearch object models\nDelete object\nEdit object\nSave object\nLoad objects", "Select", "Cancel");
        return 1;
    }
    return 0;
}
Again thanks to you!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)