Command don't work.. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Command don't work.. (
/showthread.php?tid=364133)
Command don't work.. -
dundolina - 29.07.2012
Код:
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;
}
Re: Command don't work.. -
Misiur - 29.07.2012
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;
}
Re: Command don't work.. -
Roko_foko - 29.07.2012
What does not work?
Be more precise.
Does it show the dialog on screen?
Re: Command don't work.. -
dundolina - 29.07.2012
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!