SA-MP Forums

Go Back   SA-MP Forums > Non-English > Languages > Português/Portuguese

Reply
 
Thread Tools Display Modes
Old 20/09/2019, 11:58 PM   #1
UserNamed
Little Clucker
 
Join Date: Mar 2014
Posts: 45
Reputation: 0
Default mSelection

Carreguei uma include no meu GM, porem ta dando erro nela

procurei soluções mais não consegui nenhum resultado
grato a quem ajudar


ERRO
Code:
\pawno\include\mSelection.inc(266) : error 001: expected token: ";", but found "["
\pawno\include\mSelection.inc(266) : error 029: invalid expression, assumed zero
\pawno\include\mSelection.inc(266) : warning 215: expression has no effect
\pawno\include\mSelection.inc(266) : error 001: expected token: ";", but found "]"
\pawno\include\mSelection.inc(266) : fatal error 107: too many error messages on one line
Linha 266(DO ERRO)
Code:
new rzID = gItemList[itemat][mS_ITEM_ROT_ZOOM_ID]; // avoid long line
CODE
Code:
	else
	{
		new itemat = (gLists[mS_listID][mS_LIST_START] + (GetPVarInt(playerid, "mS_list_page") * mS_SELECTION_ITEMS));

		// Destroy any previous ones created
		mS_DestroyPlayerMPs(playerid);

		while(x != mS_SELECTION_ITEMS && itemat < (gLists[mS_listID][mS_LIST_END]+1)) {
			if(linetracker == 0) {
				BaseX = mS_DIALOG_BASE_X + 25.0; // in a bit from the box
				BaseY += mS_SPRITE_DIM_Y + 1.0; // move on the Y for the next line
			}
			new rzID = gItemList[itemat][mS_ITEM_ROT_ZOOM_ID]; // avoid long line
			if(rzID > -1) gSelectionItems[playerid][x] = mS_CreateMPTextDraw(playerid, gItemList[itemat][mS_ITEM_MODEL], BaseX, BaseY, gRotZoom[rzID][0], gRotZoom[rzID][1], gRotZoom[rzID][2], gRotZoom[rzID][3], mS_SPRITE_DIM_X, mS_SPRITE_DIM_Y, bgcolor);
			else gSelectionItems[playerid][x] = mS_CreateMPTextDraw(playerid, gItemList[itemat][mS_ITEM_MODEL], BaseX, BaseY, 0.0, 0.0, 0.0, 1.0, mS_SPRITE_DIM_X, mS_SPRITE_DIM_Y, bgcolor);
			gSelectionItemsTag[playerid][x] = gItemList[itemat][mS_ITEM_MODEL];
			BaseX += mS_SPRITE_DIM_X + 1.0; // move on the X for the next sprite
			linetracker++;
			if(linetracker == mS_ITEMS_PER_LINE) linetracker = 0;
			itemat++;
			x++;
		}
	}
}

Last edited by UserNamed; 21/09/2019 at 01:32 AM.
UserNamed is offline   Reply With Quote
Old 21/09/2019, 12:53 AM   #2
NWDMadara
Huge Clucker
 
NWDMadara's Avatar
 
Join Date: Mar 2018
Posts: 490
Reputation: 15
Default Re: mSelection

Você está compilando a include?

Se sim, você deve compilar apenas a gamemode.

Se não, tente substituir esse arquivo pelo original (Caso ele não seja modificado).
NWDMadara is online now   Reply With Quote
Old 21/09/2019, 01:31 AM   #3
UserNamed
Little Clucker
 
Join Date: Mar 2014
Posts: 45
Reputation: 0
Default Re: mSelection

Quote:
Originally Posted by NWDMadara View Post
Você está compilando a include?

Se sim, você deve compilar apenas a gamemode.

Se não, tente substituir esse arquivo pelo original (Caso ele não seja modificado).
não amigo, to compilando o gamemode, porem da esse erro na include
UserNamed is offline   Reply With Quote
Old 21/09/2019, 04:10 PM   #4
UserNamed
Little Clucker
 
Join Date: Mar 2014
Posts: 45
Reputation: 0
Default Re: mSelection

alguém?
UserNamed is offline   Reply With Quote
Old 21/09/2019, 04:46 PM   #5
NWDMadara
Huge Clucker
 
NWDMadara's Avatar
 
Join Date: Mar 2018
Posts: 490
Reputation: 15
Default Re: mSelection

Você fez alguma modificação na gamemode ou na include? Ou você baixou a gamemode e deu o erro?
NWDMadara is online now   Reply With Quote
Old 22/09/2019, 03:23 AM   #6
UserNamed
Little Clucker
 
Join Date: Mar 2014
Posts: 45
Reputation: 0
Default Re: mSelection

Quote:
Originally Posted by NWDMadara View Post
Você fez alguma modificação na gamemode ou na include? Ou você baixou a gamemode e deu o erro?
resolvido obrigado.
tava dando conflito com outra include..
UserNamed is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mSelection problem - can't choose in mselection V1Su4L Scripting Help 23 31/07/2017 08:56 PM
[Ajuda] mSelection.. LuisFerreira Português/Portuguese 0 25/07/2015 07:30 PM
[Ajuda] mSelection Username1234 Português/Portuguese 9 11/05/2015 11:56 PM
mSelection b00m112 Scripting Help 2 15/10/2014 06:39 PM
mSelection bug barts Scripting Help 1 25/01/2014 04:59 PM


All times are GMT. The time now is 03:03 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.