Need a little bit help - 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: Need a little bit help (
/showthread.php?tid=309852)
Need a little bit help -
myandyou - 09.01.2012
i got this error:
pawn Код:
C:\Users\Maarten\Desktop\SA-MP\Los Santos Turf War\gamemodes\1.pwn(3194) : error 027: invalid character constant
on this line
pawn Код:
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Select your Weapons", "SMG-AK47-Grenades\Tec9-M4-Chainsaw\MicroSMG-Shotgun-Knife", "Choose", "No Weaps");
Re: Need a little bit help -
Konstantinos - 09.01.2012
You forgot the "n"
pawn Код:
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Select your Weapons", "SMG-AK47-Grenades\nTec9-M4-Chainsaw\nMicroSMG-Shotgun-Knife", "Choose", "No Weaps");
AW: Need a little bit help -
BigETI - 09.01.2012
As far we can see that \T and \M are invalid, because using \ will also check its neighbour char.
(doing \t will add a tab tbh)
Try
pawn Код:
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Select your Weapons", "SMG\nAK47\nGrenades\nTec9-\nM4\nChainsaw\nMicroSMG\nShotgun\nKnife", "Choose", "No Weaps");
Re: Need a little bit help -
myandyou - 09.01.2012
thank you all ! :P