Napravim kuce i icem vidjet radi li i izbaci mi ovo
C:\Documents and Settings\Administrator\Desktop\MrIllusion\gamemodes\eRP.pwn(36176) : error 017: undefined symbol "AddHouse"
C:\Documents and Settings\Administrator\Desktop\MrIllusion\gamemodes\eRP.pwn(36177) : error 017: undefined symbol "AddHouse"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
WTF je to 😕 😕 😕
AddHouse Error
1,015
pregleda
6
postova
pre 15 godina
pre 15 godina
AddHouse(houseid, Float:iconX, Float:iconY, Float:iconZ, Float:interiorX, Float:interiorY, Float:interiorZ, Costa, Sella, Interiora, virtualworld)
{
new house;
format(house, sizeof(house), "Houses/houseid%d",houseid);
if(!dini_Exists(house))
{
dini_Create(house);
format(hInfo, 24, "ForSale");
dini_Set(house, "Name", "ForSale");
format(hInfo, 24, "ForRent");
dini_Set(house, "Renter", "ForRent");
hInfo = 0;
dini_IntSet(house, "Rentable", 0);
hInfo = 0;
dini_IntSet(house, "Rentcost", 0);
hInfo = Costa;
dini_IntSet(house, "Cost", Costa);
hInfo = Sella;
dini_IntSet(house, "Sell", Sella);
hInfo = Interiora;
dini_IntSet(house, "Interior", Interiora);
dini_IntSet(house, "Virtualworld", virtualworld);
hInfo = virtualworld;
hInfo = 1;
dini_IntSet(house, "Locked", 1);
hInfo = interiorX;
hInfo = interiorY;
hInfo = interiorZ;
dini_FloatSet(house, "X", interiorX);
dini_FloatSet(house, "Y", interiorY);
dini_FloatSet(house, "Z", interiorZ);
dini_IntSet(house, "RentPay", 0);
dini_IntSet(house, "RentGet", 0);
cInfo = 429;
dini_IntSet(house, "HouseCar", 0);
cInfo = 429;
dini_IntSet(house, "CarModel", 0);
cInfo = 0;
cInfo = 0;
cInfo = 0;
dini_FloatSet(house, "CarX", 0);
dini_FloatSet(house, "CarY", 0);
dini_FloatSet(house, "CarZ", 0);
cInfo = 0;
cInfo = 0;
dini_IntSet(house, "CarColor1", 0);
dini_IntSet(house, "CarColor2", 0);
cInfo = 0;
print("-");
print("--------------House Created--------------");
printf("- Houseid: %d", houseid);
printf("- Buy Cost: %d", Costa);
printf("- Sell Cost: %d", Sella);
printf("- Interior: %d", Interiora);
printf("- VirtualWorld: %d", virtualworld);
print("-----------------------------------------");
print("-");
}
else
{
format(hInfo, 24, dini_Get(house, "Name"));
format(hInfo, 24, dini_Get(house, "Renter"));
hInfo = dini_Int(house, "Rentable");
hInfo = dini_Int(house, "Rentcost");
hInfo = dini_Int(house, "Cost");
hInfo = dini_Int(house, "Sell");
hInfo = dini_Int(house, "Interior");
hInfo = dini_Int(house, "Locked");
hInfo = dini_Float(house, "X");
hInfo = dini_Float(house, "Y");
hInfo = dini_Float(house, "Z");
hInfo = dini_Int(house, "Virtualworld");
}
hInfo=iconX;
hInfo=iconY;
hInfo=iconZ;
format(house, sizeof(house), "Houses/houseid%d",houseid);
if(strcmp(hInfo,"ForSale",true)==0)
{
HousePickup = CreatePickup(1273, 23, iconX, iconY, iconZ);//not bought
}
else
{
HousePickup = CreatePickup(1272,23, iconX, iconY, iconZ);//bought
}
}Dodaj si ovaj stock negdje u svoj GameMod (to je iz aHousea)
Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava