04.02.2012, 09:50
Hi, I'm making a dialog where the player can buy a weapon.
This code gives the following error:
How can I fix this code?
Код:
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_LIST, "Choose a weapon", "9mm pistol\n" + "9mm pistol (silenced)\n" + "AK-47\n" + "Baseball bat\n" + "Brass knuckles\n" + "Camera\n" + "Chainsaw\n" + "Desert Eagle\n" + "Fire extinguisher\n" + "Flamethrower\n" + "Flower bouquet\n" + "Golf club\n" + "Graffiti spraycan\n" + "Handgrenade\n" + "Heat-seeking rocket launcher\n" + "Katana\n" + "Knife\n" + "M4\n" + "Minigun\n" + "Molotov cocktail\n" + "MP5\n" + "Night vision goggles\n" + "Nite stick\n" + "Parachute\n" + "Pool cue\n" + "Rifle\n" + "RPG\n" + "Satchel charge\n" + "Sawn-off shotgun\n" + "Shotgun\n" + "Shovel\n" + "Sniper rifle\n" + "SPAS-12\n" + "TEC-9\n" + "Uzi", "OK", "Cancel");
Quote:
C:\Documents and Settings\Superthijs\Mijn documenten\SA-MP Windows Server\filterscripts\admin.pwn(419) : error 001: expected token: "-string end-", but found "-identifier-" |