Error While Compiling.
#1

Hi guys... I got a problem while compiling my pwn... Here's the error
Код:
GGRP.pwn(761) : warning 202: number of arguments does not match definition
What does that mean? And how can i fix that? This is the line 760 - 769
Код:
}
  		gSelectionItems[playerid][x] = CreateModelPreviewTextDraw(playerid, gItemList[itemat], BaseX, BaseY, SPRITE_DIM_X, SPRITE_DIM_Y);
  		gSelectionItemsTag[playerid][x] = gItemList[itemat];
		BaseX += SPRITE_DIM_X + 1.0; // move on the X for the next sprite
		linetracker++;
		if(linetracker == ITEMS_PER_LINE) linetracker = 0;
		itemat++;
		x++;
	}
}
I think thats all... Thanks guys
Reply
#2

I believe CreateModelPreviewTextDraw is a custom function, check which arguments it request, like CreateModelPreviewTextDraw(arg1,arg2...
Reply
#3

Its fixed.. Now i have another problem on line 723...
Код:
warning 215: expression has no effect
Line 723 is
Код:
PlayerTextDrawSetPreviewModel(playerid, txtPlayerSprite, modelindex);
Anyone can help me with this? Thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)