About Dialog
#1

Can anyone help me with this?
I cat figure out why i have those errors

Код:
    if(strcmp(cmdtext, "/weapon", true) == 0)
    {
        ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Weapons", "Knuckles \nGolf Club \nNight Stick \nKnife \nBaseball Bat \nShovel \nPool cue \nKatana \nChainsaw \nPurple Dildo \nWhite Dildo \nLong White Dildo \nWhite Dildo 2 \nFlowers \nCane \nGrenades \nTear Gas \nMolotovs \nPistol \nSilenced Pistol \nDesert Eagle \nShotgun \nSawn Off Shotgun \nCombat Shotgun \nMicro Uzi \nMP5 \nAK47 \nM4 \nTec9 \nRifle \nSniper Rifle \nRPG \nMissile Launcher \nFlame Thrower \nMinigun \nSachet Charges \nDetonator \nSpray Paint \nFire Extinguisher \nCamera \nNightvision Goggles \nThermal Goggles \nParachute", "Ok!", "Cancel");
        return 1;
    }
And if i compile it gives me:
Код:
C:\Documents and Settings\Majas\Desktop\samp03bsvr_R2_win32\gamemodes\grandlarc.pwn(440) : error 075: input line too long (after substitutions)
C:\Documents and Settings\Majas\Desktop\samp03bsvr_R2_win32\gamemodes\grandlarc.pwn(441) : error 037: invalid string (possibly non-terminated string)
C:\Documents and Settings\Majas\Desktop\samp03bsvr_R2_win32\gamemodes\grandlarc.pwn(441) : error 017: undefined symbol "Knuckles"
C:\Documents and Settings\Majas\Desktop\samp03bsvr_R2_win32\gamemodes\grandlarc.pwn(441) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Majas\Desktop\samp03bsvr_R2_win32\gamemodes\grandlarc.pwn(441) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664              Copyright © 1997-2006, ITB CompuPhase


5 Errors.
These are 440 and 441 line
Код:
{
        ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Weapons", "Knuckles \nGolf Club \nNight Stick \nKnife \nBaseball Bat \nShovel \nPool cue \nKatana \nChainsaw \nPurple Dildo \nWhite Dildo \nLong White Dildo \nWhite Dildo 2 \nFlowers \nCane \nGrenades \nTear Gas \nMolotovs \nPistol \nSilenced Pistol \nDesert Eagle \nShotgun \nSawn Off Shotgun \nCombat Shotgun \nMicro Uzi \nMP5 \nAK47 \nM4 \nTec9 \nRifle \nSniper Rifle \nRPG \nMissile Launcher \nFlame Thrower \nMinigun \nSachet Charges \nDetonator \nSpray Paint \nFire Extinguisher \nCamera \nNightvision Goggles \nThermal Goggles \nParachute", "Ok!", "Cancel");
Thanks for effort to answer me
Reply
#2

Well you need to reduce the size of your menu. You can make it with a second dialog with adding \n Next Page in your first one
Reply
#3

Quote:
Originally Posted by tour15
Посмотреть сообщение
with adding \n Next Page
He did that !
Reply
#4

i mean remove some /n and add them to a different dialog
Reply
#5

C:\Documents and Settings\Majas\Desktop\samp03bsvr_R2_win32\gamemod es\grandlarc.pwn(440) : error 075: input line too long (after substitutions)

Your line is obvious too long. Try removing the spaces infront of \n or just use another dialog
Reply
#6

Quote:
Originally Posted by [03]Garsino
Посмотреть сообщение
C:\Documents and Settings\Majas\Desktop\samp03bsvr_R2_win32\gamemod es\grandlarc.pwn(440) : error 075: input line too long (after substitutions)

Your line is obvious too long. Try removing the spaces infront of \n or just use another dialog
Quote:
Originally Posted by tour15
Посмотреть сообщение
Well you need to reduce the size of your menu. You can make it with a second dialog with adding \n Next Page in your first one
Yeah Thanks
I fixed it
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)