Jump to content
  • 0

Problema Dialog


Question

Posted

Salut deci am o comanda asa

[pawn]case DIALOG_VEHICLE_BUY:

{

new vehicleid = GetPVarInt(playerid, "DialogValue1");

new caption[32], info[256];

format(caption, sizeof(caption), "Vehicle ID %d", vehicleid);

format(info, sizeof(info), "This vehicle is for sale ($%d)\nWould you like to buy it?", VehicleValue[vehicleid]);

ShowPlayerDialog(playerid, dialogid, DIALOG_STYLE_MSGBOX, caption, info, "Yes", "No");

}[/pawn]

intri in masina si te intreaba This vehicle is for sale (250000$) Would you like to buy it? si mai jos apare Yes No.

Problema este urmatoarea cand dau No imi da Server Closed Connection,eu vreau cand da jucatorul No sa il scoata din masina. Cine ma paote ajuta :(?

1 answer to this question

Recommended Posts

Posted

Am rezolvat problema printr-o alta metoda, am schimbat id urile la dialoguri.

In loc de asta [pawn]#define DIALOG_ERROR 12346[/pawn] puneti asta [pawn]#define DIALOG_ERROR 123465768[/pawn]

Guest
This topic is now closed to further replies.
×
×
  • 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.