case 6: ShowPlayerDialog(playerid,46,DIALOG_STYLE_LIST,"Give What Weapon","Brass Knuckles [ID:1]\nGolf Club [ID:2]\nNite Stick [ID:3]\nKnife [ID:4]\nBaseball Bat [ID:5]\nShovel [ID:6]\nPool Cue [ID:7]\nKatana [ID:8]\nChainsaw [ID:9]\nPruple Dildo [ID:10]\nSmall White Vibrator [ID:11]\nLarge White Vibrator [ID:12]\nSilver Vibrator [ID:13]\nFlowers [ID:14]\nCane [ID:15]\nGrenade [ID:16]\nTear Gas [ID:17]\nMolotov Cocktail [ID:18]\nPistol [ID:22]\n Silenced Pistol [ID:23]\nDesert_Eagle [ID:24]\nShotgun [ID:25]\nSawnoff-Shotgun [ID:26]\nUzi [ID:28]\nMP5 [ID:29]\nAK-47 [ID:30]\nM4 [ID:31]\nTEC-9 [ID:32]","Give","Cancel");
case 6: ShowPlayerDialog(playerid,46,DIALOG_STYLE_LIST,"Give What Weapon","Brass Knuckles [ID:1]\nGolf Club [ID:2]\nNite Stick [ID:3]\n
Knife [ID:4]\nBaseball Bat [ID:5]\nShovel [ID:6]\n
Pool Cue [ID:7]\nKatana [ID:8]\nChainsaw [ID:9]\n
Pruple Dildo [ID:10]\nSmall White Vibrator [ID:11]\nLarge White Vibrator [ID:12]\n
Silver Vibrator [ID:13]\nFlowers [ID:14]\nCane [ID:15]\nGrenade [ID:16]\n
Tear Gas [ID:17]\nMolotov Cocktail [ID:18]\nPistol [ID:22]\n Silenced Pistol [ID:23]\n
Desert_Eagle [ID:24]\nShotgun [ID:25]\nSawnoff-Shotgun [ID:26]\nUzi [ID:28]\n
MP5 [ID:29]\nAK-47 [ID:30]\nM4 [ID:31]\nTEC-9 [ID:32]","Give","Cancel");
Originally Posted by _Xerxes_
Try "cutting" it up some.
pawn Код:
|
Originally Posted by _Xerxes_
What are the errors, i thought you were only getting one.
|
(141) : warning 219: local variable "string" shadows a variable at a preceding level // thousands of these in dutils.inc wich i hadn't (163) : warning 219: local variable "string" shadows a variable at a preceding level // before i codded that line and when i remove it (171) : warning 219: local variable "string" shadows a variable at a preceding level // i dont have any error (211) : warning 219: local variable "string" shadows a variable at a preceding level (355) : error 037: invalid string (possibly non-terminated string) (355) : error 017: undefined symbol "Knuckles" (355) : warning 215: expression has no effect (355) : error 001: expected token: ";", but found "]" (355) : fatal error 107: too many error messages on one line
Originally Posted by _Xerxes_
The first four errors are because you created a global variable and a regular variable of "string".
The others, is line 355 the dialog line? Donny: You can avoid it by chopping it up. Atleast, I have many times. |
case 6: ShowPlayerDialog(playerid,46,DIALOG_STYLE_LIST,"Give What Weapon","Light Weapons\nGas & Explosives\nPistols \nShotguns\nMini SMGs\nRifles,Gunnery\nHeavy Weapon\nMisc","Choose","Cancel");
Originally Posted by _Xerxes_
The first four errors are because you created a global variable and a regular variable of "string".
The others, is line 355 the dialog line? Donny: You can avoid it by chopping it up. Atleast, I have many times. |