Jump to content

Recommended Posts

Posted
enum
{
    DIALOG_NULL,
	DIALOG_LOGIN
}

CMD:updates(playerid, params[])
{
    new string[144];
    format(string, sizeof string, "Adaugat comanda /updates\nAdaugat x\nAdaugat y\nRezolvat z");
    ShowPlayerDialog(playerid, DIALOG_NULL, DIALOG_STYLE_MSGBOX, "Updates", string, "Close");
    return 1;
}

Cel mai de baza exemplu pe care ti-l pot oferi. Si o poti modifica cum doresti.

Edit: Aparent id -1 pentru dialog face cu totul altceva. Nu am testat

  • Like 1
  • 2 weeks later...
Posted
On 12/3/2021 at 9:08 PM, Banditul said:
CMD:updates(playerid, params[])
{
    new string[144];
    format(string, sizeof string, "Adaugat comanda /updates\nAdaugat x\nAdaugat y\nRezolvat z");
    ShowPlayerDialog(playerid, -1, DIALOG_STYLE_MSGBOX, "Updates", string, "Close");
    return 1;
}

Cel mai de baza exemplu pe care ti-l pot oferi. Si o poti modifica cum doresti.

da unde trb sa pun aceasta comanda ca am pus-o dar am puso prost si imi pica mereu sv u

Posted
1 hour ago, GabyRo.off said:

da unde trb sa pun aceasta comanda ca am pus-o dar am puso prost si imi pica mereu sv u

In loc de -1 la ShowPlayerDialog pune eventual 0 sau un id de dialog nefolosit. Poate trebuia sa testez inainte de a oferi solutia

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.