PDA

View Full Version : dialog box help


DeathFire
10/09/2013, 01:59 PM
Hey everybody
So, I want help with making a /credits command in a dialog box, with zcmd.
Thx for the help.

Areax
10/09/2013, 02:07 PM
#define DIALOG_CREDITS 99

CMD:credits(playerid, params[])
{
ShowPlayerDialog(playerid, DIALOG_CREDITS, DIALOG_STYLE_MSGBOX, "Credits:", "YOUR TEXT HERE", "Ok", "")
return 1;
}

Also check this: Click me! (http://wiki.sa-mp.com/wiki/ShowPlayerDialog)

DeathFire
10/09/2013, 03:08 PM
Thanks :D
EDIT: I edited the text, but it keeps saying "YOUR TEXT HERE" :/