3 Really annoying WARNINGS.
#1

There are the warnings :

PHP код:
C:\Documents and Settings\gidon\щемзп дтбегд\VortexForBen\gamemodes\VortexRoleplay.pwn(1383) : warning 202number of arguments does not match definition
C
:\Documents and Settings\gidon\щемзп дтбегд\VortexForBen\gamemodes\VortexRoleplay.pwn(1672) : warning 202number of arguments does not match definition
C
:\Documents and Settings\gidon\щемзп дтбегд\VortexForBen\gamemodes\VortexRoleplay.pwn(26159) : warning 202number of arguments does not match definition 
There are the lines :

Line 1383 :
Код:
	Create3DTextLabel(string,RED,Houses[NewHouseID][hExteriorY],Houses[NewHouseID][hExteriorZ],30.0,0);
Line 1672:
Код:
				Create3DTextLabel(string,RED,Houses[NewHouseID][hExteriorY],Houses[NewHouseID][hExteriorZ],30.0,0);
Line 26159:
Код:
       						Houses[NewHouseID][H3DText] = Create3DHouse();
It might be connected to the warning so, here's the Stock of Create3DHouse() :

Код:
stock Create3DHouse(string[128])
for(new h = 0; h < sizeof(Houses); h++)
{
	new NewHouseID = SpawnedHouses+1;
	if(Houses[h][HousePrice] == -1)
	{
	format(string, sizeof(string), "House %d", h);
	Create3DTextLabel(string,RED,Houses[NewHouseID][hExteriorY],Houses[NewHouseID][hExteriorZ],30.0,0);
	}
	else
	{
	format(string, sizeof(string), "House %d\n Price: %d", h, Houses[h][HousePrice]);
	Create3DTextLabel(string,ADMIN_GREEN,Houses[NewHouseID][hExteriorX],Houses[NewHouseID][hExteriorY],Houses[NewHouseID][hExteriorZ],30.0,0);
	}
}
Reply


Messages In This Thread
3 Really annoying WARNINGS. - by Ben7544 - 20.07.2011, 19:31
Re: 3 Really annoying WARNINGS. - by Grim_ - 20.07.2011, 19:32
Re: 3 Really annoying WARNINGS. - by Ben7544 - 20.07.2011, 19:40
Re: 3 Really annoying WARNINGS. - by Grim_ - 20.07.2011, 19:42
Re: 3 Really annoying WARNINGS. - by Ben7544 - 20.07.2011, 19:44
Re: 3 Really annoying WARNINGS. - by Grim_ - 20.07.2011, 19:47
Re: 3 Really annoying WARNINGS. - by Ben7544 - 20.07.2011, 19:52

Forum Jump:


Users browsing this thread: 1 Guest(s)