29.02.2012, 14:53
can someone help me i get these errors
Код:
C:\Documents and Settings\User\Desktop\gun.pwn(92) : error 075: input line too long (after substitutions) C:\Documents and Settings\User\Desktop\gun.pwn(93) : error 037: invalid string (possibly non-terminated string) C:\Documents and Settings\User\Desktop\gun.pwn(93) : error 017: undefined symbol "Brass" C:\Documents and Settings\User\Desktop\gun.pwn(93) : error 017: undefined symbol "Knuckles" C:\Documents and Settings\User\Desktop\gun.pwn(93) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 5 Errors.
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/mycommand", cmdtext, true, 10) == 0)
{
ShowPlayerDialog(playerid, DIALOG_Gun, DIALOG_STYLE_LIST, "{00FF00}List {0000FF}Of {FF0000}Weapons", "Brass Knuckles\nGold Club\nNite Stick\nKnife\nBaseball Bat\nShovel\nPool Cue\nKatana\nChainsaw\nPurple Dildo\nSmall Vibrator\nLarge Vibrator\nFlowers\nCane\nGrenade\nTear Gas\nMolotov Cocktail\n9mm\nSilenced 9mm\nDesert Eagle\nShotgun\nSawn-Off Shotgun\nCombat Shotgun\nMicro SMG\nMP5 / SMG\nAK47\nM4\nTec9\nCountry Rifle\nSniper Rifle\nRocket Launcher\nHeat Seaker\nFlamethrower\nMinigun\nSatchel Charge\nDetonator\nSpray Can\nFire Extinguisher\nCamera\nNightvision Goggles\nThermal Goggles\nParachute", "Spawn Item", "Close");
return 1;
}
return 0;
}