SA-MP Forums Archive
[Help] How to make like this ? - 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: [Help] How to make like this ? (/showthread.php?tid=323042)



[Help] How to make like this ? - whcool - 04.03.2012

hello guy..

how to make like this when i make /cmds command ?



sorry for my bad english.


Re: [Help] How to make like this ? - Min - 04.03.2012

Use ShowPlayerDialog.


Re: [Help] How to make like this ? - Twisted_Insane - 04.03.2012

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(!strcmp(cmdtext, "/cmds", true, 5)) // 3 is the length of /me
    {
        SendClientMessage(playerid,COLOR_WHITE,"Commands on my server:");
        SendClientMessage(playerid,COLOR_WHITE,"/cmd1, /cmd2, /cmd3");

        return 1;
    }
    return 0;
}