help dialog - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: help dialog (
/showthread.php?tid=580536)
help dialog -
Karolukas123 - 06.07.2015
hey. its not working but its no error and code is good..
im testing on first.
}
stock ShowVmBiletoDialog(playerid)
{
new msg[125];
strcat(msg, "• 1 Pirmas stalas\n");
strcat(msg, "• 2 Antras stalas\n");
strcat(msg, "• 3 Trečias stalas\n");
strcat(msg, "• 4 Ketvirtas stalas\n");
strcat(msg, "• 5 Penktas stalas\n");
strcat(msg, "• 6 Љeљtas stalas\n");
strcat(msg, "• 7 Septintas stalas");
ShowPlayerDialog(playerid, 2929, DIALOG_STYLE_LIST, "Vairavimo mokyklą - Iљmok pas Karoli", msg, "Pasirinkti", "Iљeiti");
return 1;
}
if(dialogid == 2929)
{
if(response)
{
switch(listitem)
{
case 0:
{
//new zinute[150];
SendClientMessage(playerid, -1, "Test 1");
Re: help dialog -
Karolukas123 - 06.07.2015
still not working
Re: help dialog -
M4D - 06.07.2015
Your "msg" string length is about 177 Character
but: "new msg[125];"
try this: "new msg[180];"
Re: help dialog -
Karolukas123 - 06.07.2015
Quote:
Originally Posted by M4D
Your "msg" string length is about 177 Character
but: "new msg[125];"
try this: "new msg[180];"
|
still not working..
Re: help dialog -
Karolukas123 - 06.07.2015
anyone
Re: help dialog -
dusk - 06.07.2015
What exactly is not working?
Re: help dialog -
Karolukas123 - 06.07.2015
Quote:
Originally Posted by dusk
What exactly is not working?
|
when i press on first (in dialog 1) nothing happensm but should SendClientMessage.. dialog id same... i dont no how to fix..
Re: help dialog -
dusk - 06.07.2015
Is this a gamemode or a filterscript?
Re: help dialog -
Karolukas123 - 06.07.2015
Quote:
Originally Posted by dusk
Is this a gamemode or a filterscript?
|
gameMode.. DIALOG id unique
Re: help dialog -
Karolukas123 - 06.07.2015
sameone ??