Help me make a /credits cmd [ZCMD] -
DwayneMichael - 23.06.2016
Hello everyone,
I want to create a /credits cmd which will open a dialog box.. Most of the tutorials are with strcmp and I can't really understand it..
Please help me,
Thank you.
Re: Help me make a /credits cmd [ZCMD] -
Stinged - 23.06.2016
Код:
#define DIALOG_CREDITS 543
CMD:credits(playerid)
{
ShowPlayerDialog(playerid, DIALOG_CREDITS, DIALOG_STYLE_MSGBOX, "Credits", "...", "...", "");
return 1;
}
Re: Help me make a /credits cmd [ZCMD] -
Nin9r - 23.06.2016
Код HTML:
CMD:credits(playerid, params[])
{
new str[256];
format(str, sizeof(str), "TEXT.\nTEXT SECOND LINE\nTHIRD LINE");
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "Credits", str, "OK", "");
return 1;
}
Re: Help me make a /credits cmd [ZCMD] -
CodeStyle175 - 23.06.2016
CMD:credits(pid)return spd(pid,d_noret,msgbox,"Credits","{ff0000}Main scripter: Jade_Smith\nOwner: John_Bigfoot\nFast scripter: Jade_Oilhair","Okey","");
Re: Help me make a /credits cmd [ZCMD] -
DwayneMichael - 23.06.2016
Thanks, it worked! I want to change the colour of some texts while appearing in the dialog box. How do I do it?
Re: Help me make a /credits cmd [ZCMD] -
Younes44 - 23.06.2016
PHP код:
"Credits:","{FFFFFF}Server Owner: {E10000}Dwayne\n"cyellow2"Scripter: "cred"Dwayne\n ........
use color code before text you want color it
Re: Help me make a /credits cmd [ZCMD] - Quinncell - 23.06.2016
I'd suggest you learn the basics of strcmp first, then move on to zcmd.
Re: Help me make a /credits cmd [ZCMD] -
alexanderjb918 - 23.06.2016
CMD:credits(playerid, params[])
{
SendClientMessage(playerid, COLOR_RED, "Credits: ");
SendClientMessage(playerid, 0x00FF00FF, "Credits: ");
SendClientMessage(playerid, -1, "Credits:.");
return 1;
}
Re: Help me make a /credits cmd [ZCMD] -
Owen007 - 23.06.2016
zcmd is not that good for me i will suggest u strcmp
Re: Help me make a /credits cmd [ZCMD] -
F1N4L - 23.06.2016
Quote:
Originally Posted by Owen007
zcmd is not that good for me i will suggest u strcmp
|
Not good just for you!