[POMOC]Problem sa dialogom (HITNO)

Započeo TheMonk, Januar 08, 2011, 04:00:18 PRE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Dobijem ovaj error kad kompiliram:
C:\DOCUME~1\Monk\Desktop\BALKAN~1.3C\GAMEMO~1\GTARP0~1.PWN(14120) : error 075: input line too long (after substitutions)
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


1 Error.

Evo ta komanda:
if(strcmp(cmd, "/animacije", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
            ShowPlayerDialog(playerid, 4, DIALOG_STYLE_MSGBOX, ". : : Lista Animacija : : .", "/fall /injured /push /handsup /kiss /cell /osamari /bomb /drunk /laugh\n/basket /medic /spray /robman /taichi /lookout /sit /lay /sup /crossarms\n/deal /crack /smoke /chat /hike /dance /fuck /strip /lean /walk /rap /caract\n/tired /box /scratch /hide /vomit /eats /cop /stance /wave /run\n/flag /giver /look /show /shout /endchat /face /pull\nDa biste zaustavili animaciju,pritisnite SPACE,LMB ili ENTER", "Uredu", "Uredu");
}
return 1;
}


Koliko sam ja razumeo pise da je predugacko lol

Koliko znam, mislim da ti je predugacak taj dialog (nisam siguran) Ali sama recenica kaze "input line too long"

Znam  ??? to sam i reko...al na nekim serverima sam video jos vece,nzm zasto mene samo ovo je*e :'(

probaj ovako:

if(strcmp(cmd, "/animacije", true) == 0)
{
   if(IsPlayerConnected(playerid))
   {
           ShowPlayerDialog(playerid, 4, DIALOG_STYLE_MSGBOX, ". : : Lista Animacija : : .", "/fall \n/injured \n/push \n/handsup \n/kiss \n/cell \n/osamari \n/bomb \n/drunk \n/laugh\n/basket \n/medic \n/spray \n/robman \n/taichi \n/lookout \n/sit \n/lay \n/sup \n/crossarms\n/deal \n/crack \n/smoke \n/chat \n/hike \n/dance \n/fuck \n/strip \n/lean \n/walk \n/rap \n/caract\n/tired \n/box \n/scratch \n/hide \n/vomit \n/eats \n/cop \n/stance \n/wave \n/run\n/flag \n/giver \n/look \n/show \n/shout \n/endchat \n/face \n/pull\nDa biste zaustavili animaciju,pritisnite SPACE,LMB ili ENTER", "Uredu", "Uredu");
}
return 1;
}
Poslednja Izmena: Januar 08, 2011, 04:20:40 PRE PODNE od Rey_McShakur
Mike Marquez | House of Rave is Trippy Place ! |

Sad mi ovo izbaci:
C:\DOCUME~1\Monk\Desktop\BALKAN~1.3C\GAMEMO~1\GTARP0~1.PWN(14120) : error 075: input line too long (after substitutions)
C:\DOCUME~1\Monk\Desktop\BALKAN~1.3C\GAMEMO~1\GTARP0~1.PWN(14121) : error 037: invalid string (possibly non-terminated string)
C:\DOCUME~1\Monk\Desktop\BALKAN~1.3C\GAMEMO~1\GTARP0~1.PWN(14121) : error 029: invalid expression, assumed zero
C:\DOCUME~1\Monk\Desktop\BALKAN~1.3C\GAMEMO~1\GTARP0~1.PWN(14121) : error 017: undefined symbol "n"
C:\DOCUME~1\Monk\Desktop\BALKAN~1.3C\GAMEMO~1\GTARP0~1.PWN(14121) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


5 Errors.

vrati na onaj stari:

if(strcmp(cmd, "/animacije", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
            ShowPlayerDialog(playerid, 4, DIALOG_STYLE_MSGBOX, ". : : Lista Animacija : : .", "/fall /injured /push /handsup /kiss /cell /osamari /bomb /drunk /laugh\n/basket /medic /spray /robman /taichi /lookout /sit /lay /sup /crossarms\n/deal /crack /smoke /chat /hike /dance /fuck /strip /lean /walk /rap /caract\n/tired /box /scratch /hide /vomit /eats /cop /stance /wave /run\n/flag /giver /look /show /shout /endchat /face /pull\nDa biste zaustavili animaciju,pritisnite SPACE,LMB ili ENTER", "Uredu", "Uredu");
}
return 1;
}


probaj ovo:
if(strcmp(cmd, "/animacije", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
ShowPlayerDialog(playerid,1,DIALOG_STYLE_MSGBOX,". : : Lista Animacija : : .","/fall /injured /push /handsup /kiss /cell /osamari /bomb /drunk /laugh\n/basket /medic /spray /robman /taichi /lookout /sit /lay /sup /crossarms\n/deal /crack /smoke /chat /hike /dance /fuck /strip /lean /walk /rap /caract\n/tired /box /scratch /hide /vomit /eats /cop /stance /wave /run\n/flag /giver /look /show /shout /endchat /face /pull\nDa biste zaustavili animaciju,pritisnite SPACE,LMB ili ENTER","Uredu","Uredu");
}
return 1;
}
Mike Marquez | House of Rave is Trippy Place ! |


pogledaj ove "{ i }" na tvojoj:

if(strcmp(cmd, "/animacije", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
            ShowPlayerDialog(playerid, 4, DIALOG_STYLE_MSGBOX, ". : : Lista Animacija : : .", "/fall /injured /push /handsup /kiss /cell /osamari /bomb /drunk /laugh\n/basket /medic /spray /robman /taichi /lookout /sit /lay /sup /crossarms\n/deal /crack /smoke /chat /hike /dance /fuck /strip /lean /walk /rap /caract\n/tired /box /scratch /hide /vomit /eats /cop /stance /wave /run\n/flag /giver /look /show /shout /endchat /face /pull\nDa biste zaustavili animaciju,pritisnite SPACE,LMB ili ENTER", "Uredu", "Uredu");
}
return 1;
}

a vidi na mojoj:

   if(strcmp(cmd, "/animacije", true) == 0)
   {
       if(IsPlayerConnected(playerid))
       {
          ShowPlayerDialog(playerid,1,DIALOG_STYLE_MSGBOX,". : : Lista Animacija : : .","/fall /injured /push /handsup /kiss /cell /osamari /bomb /drunk /laugh\n/basket /medic /spray /robman /taichi /lookout /sit /lay /sup /crossarms\n/deal /crack /smoke /chat /hike /dance /fuck /strip /lean /walk /rap /caract\n/tired /box /scratch /hide /vomit /eats /cop /stance /wave /run\n/flag /giver /look /show /shout /endchat /face /pull\nDa biste zaustavili animaciju,pritisnite SPACE,LMB ili ENTER","Uredu","Uredu");
       }
       return 1;
    }


", " razmak nie potreban...
a i ovo ti je krivo slozeno:

       {--> to i
            ShowPlayerDialog(playerid, 4, DIALOG_STYLE_MSGBOX, ". : : Lista Animacija : : .", "/fall /injured /push /handsup /kiss /cell /osamari /bomb /drunk /laugh\n/basket /medic /spray /robman /taichi /lookout /sit /lay /sup /crossarms\n/deal /crack /smoke /chat /hike /dance /fuck /strip /lean /walk /rap /caract\n/tired /box /scratch /hide /vomit /eats /cop /stance /wave /run\n/flag /giver /look /show /shout /endchat /face /pull\nDa biste zaustavili animaciju,pritisnite SPACE,LMB ili ENTER", "Uredu", "Uredu");
      }---> to

treba biti ovako:
       {
          ShowPlayerDialog(playerid,1,DIALOG_STYLE_MSGBOX,". : : Lista Animacija : : .","/fall /injured /push /handsup /kiss /cell /osamari /bomb /drunk /laugh\n/basket /medic /spray /robman /taichi /lookout /sit /lay /sup /crossarms\n/deal /crack /smoke /chat /hike /dance /fuck /strip /lean /walk /rap /caract\n/tired /box /scratch /hide /vomit /eats /cop /stance /wave /run\n/flag /giver /look /show /shout /endchat /face /pull\nDa biste zaustavili animaciju,pritisnite SPACE,LMB ili ENTER","Uredu","Uredu");
       }
Mike Marquez | House of Rave is Trippy Place ! |