[Pawn] server commands - Printable Version + open.mp forum (https://forum.open.mp) -- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3) --- Forum: Pawn Scripting (https://forum.open.mp/forumdisplay.php?fid=10) --- Thread: [Pawn] server commands (/showthread.php?tid=1526) |
server commands - Funkar69 - 2021-01-14 i'm trying to make a /commands with dialog list and I'm suffering how to make a list. instead of Item 1 there should be Server commands and then it would up another dialog containing another box which would be basic command something like that. https://imgur.com/RwsbxUd RE: server commands - Smyle - 2021-01-16 You should replace "Item 1\nItem 2\n [...]" for "Server Commands" when you're showing up this dialog to a player. Also if you want to click in the item and show another dialog box as you said, you should use the?Callback?OnDialogReponse, check the dialogid and then check if the selected listitem is zero (the first one starts at zero). Example: Code: // inside of OnDialogResponse: |