Posts: 31
Threads: 5
Joined: May 2016
Reputation:
0
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.
Posts: 455
Threads: 29
Joined: Apr 2014
CMD:credits(pid)return spd(pid,d_noret,msgbox,"Credits","{ff0000}Main scripter: Jade_Smith\nOwner: John_Bigfoot\nFast scripter: Jade_Oilhair","Okey","");
Posts: 31
Threads: 5
Joined: May 2016
Reputation:
0
Thanks, it worked! I want to change the colour of some texts while appearing in the dialog box. How do I do it?
I'd suggest you learn the basics of strcmp first, then move on to zcmd.
Posts: 324
Threads: 108
Joined: Dec 2013
Reputation:
0
CMD:credits(playerid, params[])
{
SendClientMessage(playerid, COLOR_RED, "Credits: ");
SendClientMessage(playerid, 0x00FF00FF, "Credits: ");
SendClientMessage(playerid, -1, "Credits:.");
return 1;
}
Posts: 176
Threads: 26
Joined: Jun 2016
Reputation:
0
zcmd is not that good for me i will suggest u strcmp