warning 202: number of arguments does not match definition
#1

D:\Mбtй kйpei\RPG\26febrmof\icerpg.pwn(894 : warning 202: number of arguments does not match definition
D:\Mбtй kйpei\RPG\26febrmof\icerpg.pwn(894 : warning 202: number of arguments does not match definition

Код:
ShowPlayerDialog(i, DIALOG_HOUSEM, DIALOG_STYLE_LIST, "Ice utca %d | Tulaj:(%d)","Belйp\nLabor\nInformбciу", "OK", "Mйgsem",h,HouseInfo[h][hOwner]);
full code
Код:
	for(new h = 0; h < sizeof(HouseInfo); h++)
			{
				if(HouseInfo[h][Van] != 1) continue;

				if(PlayerToPoint(1.0, i, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]))
				{
					if(HouseInfo[h][hOwned] == 1)
					{
						if(HouseInfo[h][hRentabil] == 0)
							ShowPlayerDialog(i, DIALOG_HOUSEM, DIALOG_STYLE_LIST, "Ice utca %d | Tulaj:(%d)","Belйp\nLabor\nInformбciу", "OK", "Mйgsem",h,HouseInfo[h][hOwner]);
						oks = 1;
						break;
					}
Reply
#2

What's the define for
pawn Код:
HouseInfo[h][hOwner]
Reply
#3

As with every other kind of output, this too needs to be formatted first.
Reply
#4

What Vince Said, + I thought that HouseOwner was a MAX_PLAYER_NAME, SO I was going to add a format etc for you.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)