listitem Problem - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: listitem Problem (
/showthread.php?tid=101559)
listitem Problem -
magicaar - 11.10.2009
Hi,
when the content of the dialogue in DIALOG_STYLE_LIST looks like this:
Код:
new weaponss[] = "Brass Knuckles\nGolf Club\nKnife\nBaseball Bat\nShovel\nPool Cue\nKatana\nChainsaw\nPurple Dildo\nSmall White Vibrator\nLarge White Vibrator\nSilver Vibrator\nFlowers\nCane\nGrenade\nTear Gas\nMolotov Cocktail\n9mm\nSilenced 9mm\nDesert Eagle\nShotgun\nSawnoff Shotgun\nCombat Shotgun\nUZI\nMP5\nAK47\nM4\nTec9\nCountry Rifle\nSniper Rifle\nRocket Launcher\nHS Rocket Launcher\nFlamethrower\nMinigun\nSpraycan\nFire Extinguisher\nParachute";
And I then game one of them (choose listitem are all correct) then comes in as Deagle Shotgun and M4 is MP5.
So this ListItems are quite different than I did in the script erstellet too many items in some way ..
Is with you so, or have I done something wrong?
Re: listitem Problem -
Limex - 11.10.2009
You do know that the first thing in the list is ID 0, and not ID1, right?
Re: listitem Problem -
magicaar - 11.10.2009
Yes, I know