Jump to content
  • 0

ajutor!!!!!


caltabos

Question

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

 

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

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 "}"

Link to comment
Share on other sites

  • 0

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


 

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.