SA-MP Forums Archive
Help cmd [+rep] - 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 cmd [+rep] (/showthread.php?tid=363608)



Help cmd [+rep] - Knight_Rider - 28.07.2012

i want to make a cmd /help in which these things will show..!! i dont want to make dialog box..!! MAke it colorful xD

/tpm /nopm /pm
/credits /me /admins /setav /perks


Re: Help cmd [+rep] - Akira297 - 28.07.2012

Let me ask you this, do you want

ZCMD or w/e you're using?

Like give me a example of one of your commands,

so, I know what to make it for,


Re: Help cmd [+rep] - Dan. - 28.07.2012

You can make it colorful yourself:
http://*******/SYwdDp

pawn Код:
CMD:help(playerid, params[])
{
    ShowPlayerDialog(playerid, 900, DIALOG_STYLE_MSGBOX, "Help dialog", "/tpm /nopm /pm\n/credits /me /admins /setav /perks", "Ok", "");
    return 1;
}



Re: Help cmd [+rep] - Akira297 - 28.07.2012

Quote:
Originally Posted by Dan.
Посмотреть сообщение
You can make it colorful yourself:
http://*******/SYwdDp

pawn Код:
CMD:help(playerid, params[])
{
    ShowPlayerDialog(playerid, 900, DIALOG_STYLE_MSGBOX, "Help dialog", "/tpm /nopm\n/pm /credits /me /admins /setav /perks", "Ok", "");
    return 1;
}
Dan, he didn't want a Dialog, he wanted the command that printed it onto the screen.

i.e SendClientMessageEx

pawn Код:
CMD:help(playerid, params[])
{
SendClientMessageEx(playerid, COLOR_YELLOW,"*** HELP ***/tpm /nopm /pm /credits /me /admins /setav /perks");



Re: Help cmd [+rep] - Dan. - 28.07.2012

Why are you using SendClientMessageEx, maybe he doesen't have it? + you have an unclosed bracket.

pawn Код:
CMD:help(playerid, params[])
{
    SendClientMessage(playerid, 0xFFFFFFAA, "/tpm /nopm, /pm /credits /me /admins /setav /perks");
    return 1;
}



Re: Help cmd [+rep] - Akira297 - 28.07.2012

Thank you for pointing that out, but atleast he has the idea' , of what we're both discussing or going on about,

anyways hoped we help..

/leaves.


Re: Help cmd [+rep] - vexer1234 - 28.07.2012

Here is my try,

If you are using Zcmd.
pawn Код:
CMD:help(playerid, params[])
{
    SendClientMessage(playerid, 0xFFFF000, "/tpm -- /nopm -- /pm -- /credits -- /me -- /admins -- /setav -- /perks");
    return 1;
}



Re: Help cmd [+rep] - Knight_Rider - 28.07.2012

rep given to all ty for helping..!!