20.07.2011, 19:31
There are the warnings :
There are the lines :
Line 1383 :
Line 1672:
Line 26159:
It might be connected to the warning so, here's the Stock of Create3DHouse() :
PHP код:
C:\Documents and Settings\gidon\щемзп дтбегд\VortexForBen\gamemodes\VortexRoleplay.pwn(1383) : warning 202: number of arguments does not match definition
C:\Documents and Settings\gidon\щемзп дтбегд\VortexForBen\gamemodes\VortexRoleplay.pwn(1672) : warning 202: number of arguments does not match definition
C:\Documents and Settings\gidon\щемзп дтбегд\VortexForBen\gamemodes\VortexRoleplay.pwn(26159) : warning 202: number of arguments does not match definition
Line 1383 :
Код:
Create3DTextLabel(string,RED,Houses[NewHouseID][hExteriorY],Houses[NewHouseID][hExteriorZ],30.0,0);
Код:
Create3DTextLabel(string,RED,Houses[NewHouseID][hExteriorY],Houses[NewHouseID][hExteriorZ],30.0,0);
Код:
Houses[NewHouseID][H3DText] = 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); } }