Jump to content
  • 0

Problema Dialog Case..


SkyLeAs

Question

Problema intalnita (descriere):Am facut si eu comanda /owners si am o problema la case
Ero(area / rile) / warning-(ul / urile):

D:stycMCM (F)ServersXSG Build 3.1gamemodesXSG.pwn(10328) : error 040: duplicate "case" label (value 2)

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


1 Error.

Liniile de cod / sursa / script-ul(obligatoriu):

Linia 10328

case DIALOG_OWNERS:

Script Full

case DIALOG_OWNERS:
		{
			if(response)
			{
				switch(listitem)
				{
				    //--------------------------------------------------------------
				    case 0:// JohnnyYz
        	        {
						new OWString[ 2048 ];
						OWString[ 0 ] = EOS;
						strcat(OWString, "{fcfcfc}Ai ales Ownerul {c2fc00}JohnnyYz{fcfcfc}, maijos vei gasi detalii despre el:nn" );
						strcat(OWString, "{c2fc00}Numele: {fcfcfc}Alexandrun" );
						strcat(OWString, "{c2fc00}Varsta: {fcfcfc}18n" );
						strcat(OWString, "{c2fc00}Sex: {fcfcfc}Masculinn" );
						strcat(OWString, "{c2fc00}Tara:{fcfcfc}Romanian" );
						strcat(OWString, "{c2fc00}Y!M: {fcfcfc}[email protected]" );
						strcat(OWString, "{c2fc00}Skype: {fcfcfc}xt3z0ne123n" );
						strcat(OWString, "{c2fc00}Rank: {fcfcfc}Fondator {fcfcfc}[ {c2fc00}RCON {fcfcfc}]nn" );
						strcat(OWString, "{fcfcfc}Daca aveti vreo problema, puteti contacta acest owner, sau vizitatin" );
						strcat(OWString, "{fcfcfc}Comunitatea www.{c2fc00}NECRO-ZONE{fcfcfc}.com Sectiunea {0088ff}eXtreme {ffd900}Stunt {ff0d00}Generation n" );
						ShowPlayerDialog( playerid, DIALOG_JOHNNY, DIALOG_STYLE_MSGBOX, "{fcfcfc}Ownerul {c2fc00}JohnnyYz{fcfcfc}:", OWString, "OK","" );
        	        }
        	        case 1:// Nagato
        	        {
						new OWString[ 2048 ];
						OWString[ 0 ] = EOS;
						strcat(OWString, "{fcfcfc}Ai ales Ownerul {c2fc00}Nagato{fcfcfc}, maijos vei gasi detalii despre el:nn" );
						strcat(OWString, "{c2fc00}Numele: {fcfcfc}Coreyn" );
						strcat(OWString, "{c2fc00}Varsta: {fcfcfc}18n" );
						strcat(OWString, "{c2fc00}Sex: {fcfcfc}Masculinn" );
						strcat(OWString, "{c2fc00}Tara:{fcfcfc}Romanian" );
						strcat(OWString, "{c2fc00}Y!M: {fcfcfc}[email protected]" );
						strcat(OWString, "{c2fc00}Skype: {fcfcfc}N/an" );
						strcat(OWString, "{c2fc00}Rank: {fcfcfc}Fondator {fcfcfc}[ {c2fc00}RCON {fcfcfc}]nn" );
						strcat(OWString, "{fcfcfc}Daca aveti vreo problema, puteti contacta acest owner, sau vizitatin" );
						strcat(OWString, "{fcfcfc}Comunitatea www.{c2fc00}NECRO-ZONE{fcfcfc}.com Sectiunea {0088ff}eXtreme {ffd900}Stunt {ff0d00}Generation n" );
						ShowPlayerDialog( playerid, DIALOG_NAGATO, DIALOG_STYLE_MSGBOX, "{fcfcfc}Ownerul {c2fc00}Nagato{fcfcfc}:", OWString, "OK","" );
        	        }
					//--------------------------------------------------------------
				}
			}
		}

Imagini / Video (optional):N/a
Ati incercat sa rezolvati singur?:Da dar nu pot sa imi dau seama dela ce e..

Mentionez ca am si #define DIALOG_OWNERS 2 SI TOT 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.