23.12.2009, 15:09
I have a small/big problem, small because the house system works, big because i have multiple warnings. All these warnings are the same - tag mismatch, i know that is a problem with the first parameter but I until now I couldn't solve it. Well I need your help.
Any solutions are accepted as long as they work
Код:
new string[256]; new houselocation[MAX_ZONE_NAME]; GetCoords2DZone(Houses[id][EnterX],Houses[id][EnterY], houselocation, MAX_ZONE_NAME); format(string, sizeof(string), "This house is for sale!\nAddress: %d %s\nDescription: %s\nPrice: $%d%s",id,houselocation,Houses[id][Description],Houses[id][HousePrice]); Update3DTextLabelText(Houses[id][PickupID],0x13b809FF,string);
Код:
enum HouseSystem
{
Description[128],
Owner[MAX_PLAYER_NAME],
Float:EnterX,
Float:EnterY,
Float:EnterZ,
EnterWorld,
EnterInterior,
Float:EnterAngle,
Float:ExitX,
Float:ExitY,
Float:ExitZ,
ExitInterior,
Float:ExitAngle,
Owned,
Rentable,
RentCost,
HousePrice,
Materials,
Drugs,
Money,
Locked,
PickupID,
};
new Houses[800][HouseSystem];

