Jump to content

Question

Posted

vreau sa imi spuneti ce esti gresit de imi da Pawn Compiler has stop working!

 

		}
		case DIALOG_TIPET: {
			if(!response) return 1;
			switch(listitem) {
				case 0:
				SetPlayerAttachedObject(playerid, 6, 19078, 17, 0.021065, -0.100726, 0.143000, 357.120239, 1.712298, 349.232513, 1.000000, 1.000000, 1.120420 );
				{
				case 1:
				SetPlayerAttachedObject(playerid, 6, 1608, 17, 0.021065, -0.100726, 0.143000, 357.120239, 1.712298, 349.232513, 1.000000, 1.000000, 1.120420 );
				}
			}
		}


}
CMD:pettype(playerid, parmas[]) {
	if(PlayerInfo[playerid][pPet] == 0) return SendClientMessage(playerid, COLOR_RED, "Nu detii un pet!");
	ShowPlayerDialog(playerid, DIALOG_TIPET, DIALOG_STYLE_LIST, "Tip Pet", "Papagal\nRechin", "Select", "Cancel")
	return 1;
}

#define DIALOG_TIPET			365

 

6 answers to this question

Recommended Posts

  • 0
Posted

E:\Gamemodes\burned.ro\gamemodes\GM.pwn(7079) : error 002: only a single statement (or expression) can follow each "case"
E:\Gamemodes\burned.ro\gamemodes\GM.pwn(7079) : error 029: invalid expression, assumed zero
E:\Gamemodes\burned.ro\gamemodes\GM.pwn(7079) : error 029: invalid expression, assumed zero
E:\Gamemodes\burned.ro\gamemodes\GM.pwn(7079) : fatal error 107: too many error messages on one line

 

7079 e o "}"

  • 0
Posted

Screenshot_4.png.faa1d9065d79e129872237c560b0b64c.png

eu am incercat:

		case DIALOG_TIPET: {
		    if(!response) return 1;
		    switch(listitem) {
		        case 0: SetPlayerAttachedObject(playerid, 6, 19078, 17, 0.021065, -0.100726, 0.143000, 357.120239, 1.712298, 349.232513, 1.000000, 1.000000, 1.120420 );
                {
		        case 1: SetPlayerAttachedObject(playerid, 7, 1608, 17, 0.021065, -0.100726, 0.143000, 357.120239, 1.712298, 349.232513, 1.000000, 1.000000, 1.120420 );
                }
		    }
		}

da imi da Pawn Compiler Has Stop Working! si imi da finished si 30-45 sec, dar de obicei se termina in 90


 

 

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.