Help cmd [+rep]
#1

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
Reply
#2

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,
Reply
#3

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;
}
Reply
#4

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");
Reply
#5

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;
}
Reply
#6

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.
Reply
#7

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;
}
Reply
#8

rep given to all ty for helping..!!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)