Započeo Ep1c
•21. Mar. 2013.• Zaključano[POMOC] House System
845
pregleda
15
postova
Hustler
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
78
Postovi:
13
Teme:
Pridružio se:Jul 2012
21. Mar. 2013.
Skripta koju koristim: GTA RP Edit
Detaljan opis problema: Kada kompajlujem skriptu izadkju mi 2 errora:
Dio skripte:
Neke slike/video za lakse dobivanje pomoci(neobavezno):
Detaljan opis problema: Kada kompajlujem skriptu izadkju mi 2 errora:
C:\Users\Ep1c\Desktop\BARP\gamemodes\BARP.pwn(10270) : error 047: array sizes do not match, or destination array is too small
C:\Users\Ep1c\Desktop\BARP\gamemodes\BARP.pwn(10271) : error 047: array sizes do not match, or destination array is too smallDio skripte:
public LoadProperty()
{
new FileName;
for(new i = 0; i < 999; i++)
{
format(FileName, sizeof(FileName), "Systemi/Kuce/Kuca_%d.ini", i);
if(fexist(FileName) )
{
HouseInfo = dini_Float(FileName, "Entrancex" );
HouseInfo = dini_Float(FileName, "Entrancey" );
HouseInfo = dini_Float(FileName, "Entrancez" );
HouseInfo = dini_Float(FileName, "Exitx" );
HouseInfo = dini_Float(FileName, "Exity" );
HouseInfo = dini_Float(FileName, "Exitz" );
HouseInfo = dini_Int(FileName, "Healthx" );
HouseInfo = dini_Int(FileName, "Healthy" );
HouseInfo = dini_Int(FileName, "Healthz" );
HouseInfo = dini_Int(FileName, "Armourx" );
HouseInfo = dini_Int(FileName, "Armoury" );
HouseInfo = dini_Int(FileName, "Armourz" );
HouseInfo = dini_Get(FileName, "Owner" ); //Linija 10270 (Ovde izbacuje gresku)
HouseInfo = dini_Get(FileName, "Discription" ); //Linija 10271 (Ovde izbacuje gresku)
HouseInfo = dini_Int(FileName, "Value" );
HouseInfo = dini_Int(FileName, "Hel" );
HouseInfo = dini_Int(FileName, "Arm" );
HouseInfo = dini_Int(FileName, "Int" );
HouseInfo = dini_Int(FileName, "Lock" );
HouseInfo = dini_Int(FileName, "Owned" );
HouseInfo = dini_Int(FileName, "Rooms" );
HouseInfo = dini_Int(FileName, "Rent" );
HouseInfo = dini_Int(FileName, "Rentabil" );
HouseInfo = dini_Int(FileName, "Takings" );
HouseInfo = dini_Int(FileName, "Vec" );
HouseInfo = dini_Int(FileName, "Vcol1" );
HouseInfo = dini_Int(FileName, "Vcol2" );
HouseInfo= dini_Int(FileName, "Date" );
HouseInfo = dini_Int(FileName, "Level" );
HouseInfo = dini_Int(FileName, "Tip" );
HouseInfo = dini_Int(FileName, "World" );
HouseText(i);
if(HouseInfo == 457)
{
HouseInfo = 411;
}
}
}
}Neke slike/video za lakse dobivanje pomoci(neobavezno):
Hustler
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
78
Postovi:
13
Teme:
Pridružio se:Jul 2012
22. Mar. 2013.
Sad ovo
C:\Users\Ep1c\Desktop\BARP\gamemodes\BARP.pwn(10270) : warning 215: expression has no effect
C:\Users\Ep1c\Desktop\BARP\gamemodes\BARP.pwn(10270) : warning 215: expression has no effect
C:\Users\Ep1c\Desktop\BARP\gamemodes\BARP.pwn(10270) : warning 215: expression has no effect
C:\Users\Ep1c\Desktop\BARP\gamemodes\BARP.pwn(10270) : error 001: expected token: ";", but found ")"
C:\Users\Ep1c\Desktop\BARP\gamemodes\BARP.pwn(10270) : error 029: invalid expression, assumed zero
C:\Users\Ep1c\Desktop\BARP\gamemodes\BARP.pwn(10270) : warning 215: expression has no effect
C:\Users\Ep1c\Desktop\BARP\gamemodes\BARP.pwn(10271) : warning 215: expression has no effect
C:\Users\Ep1c\Desktop\BARP\gamemodes\BARP.pwn(10271) : warning 215: expression has no effect
C:\Users\Ep1c\Desktop\BARP\gamemodes\BARP.pwn(10271) : warning 215: expression has no effect
C:\Users\Ep1c\Desktop\BARP\gamemodes\BARP.pwn(10271) : error 001: expected token: ";", but found ")"
C:\Users\Ep1c\Desktop\BARP\gamemodes\BARP.pwn(10271) : error 029: invalid expression, assumed zero
C:\Users\Ep1c\Desktop\BARP\gamemodes\BARP.pwn(10271) : warning 215: expression has no effectHustler
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
78
Postovi:
13
Teme:
Pridružio se:Jul 2012
23. Mar. 2013.
enum hInfo
{
Float:hEntrancex,
Float:hEntrancey,
Float:hEntrancez,
Float:hExitx,
Float:hExity,
Float:hExitz,
hHealthx,
hHealthy,
hHealthz,
hArmourx,
hArmoury,
hArmourz,
hOwner,
hDiscription,
hValue,
hHel,
hArm,
hInt,
hLock,
hOwned,
hRooms,
hRent,
hRentabil,
hTakings,
hVec,
hVcol1,
hVcol2,
hDate,
hLevel,
hTip,
hWorld
};Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava