SA-MP Forums Archive
string not working... - 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: string not working... (/showthread.php?tid=408470)



string not working... - Glad2BeHere - 18.01.2013

[pawn]
format(deleteveh, sizeof(deleteveh), "%d\n%d\n%d\n%d\n%d\n%d\n%d\n%d\n%d\n%d"

ShowPlayerDialog(playerid, w33zy, DIALOG_STYLE_LIST, "Delete List for vehicles", deleteveh, "sosa","<3");

yeah so ummm the string isnt show ...... :/ the writing is correct cuz the %d represents vehicle ids but list not showing y anyone?


Re: string not working... - NeroX98 - 18.01.2013

pawn Код:
ShowPlayerDialog(playerid, w33zy, DIALOG_STYLE_LIST, "Delete List for vehicles", deleteveh, "sosa", "<3");
or maybe your string is bad
format(deleteveh, sizeof(deleteveh), "%d\n%d\n%d\n%d\n%d\n%d\n%d\n%d\n%d\n%d"
IF this is the whole line than you should get errors or warnings...


Respuesta: string not working... - [CG]Milito - 18.01.2013

The string length?


Re: string not working... - LarzI - 18.01.2013

As Milito asked, what's the size of deleteveh? It's probably not big enough.


Re: string not working... - Glad2BeHere - 18.01.2013

it has more that is correct cuz it sends in link message but not working dialog