Detaljan opis problema:Znaci nemam errora u pawnu i sve mi radi na serveru.Ali mi kada pokrenem server ispisuje sledece:

uploading images
Dio skripte:Evo global timer
public GlobalTimer()
{
new Year, Month, Day,string;
getdate(Year, Month, Day);
for(new id = 0; id <= MAX_HOUSE;id++)
{
format(string,64,House_File,id);
if(House+MAX_DAYS <= Day && House == 0)
{
if(fexist(string))
{
//If month have 31 days
if(House == 1 || House == 3 || House == 5 || House == 7 || House == 8 || House == 10 || House == 12)
{
if(House+MAX_DAYS > 31)
{
new newday = (31-House);
new newday1 = MAX_DAYS-newday;
if(newday1 != Day) return 1;
}
}
//If month have 30 days
if(House == 4 || House == 6 || House == 9 || House == 11)
{
if(House+MAX_DAYS > 30)
{
new newday = (30-House);
new newday1 = MAX_DAYS-newday;
if(newday1 != Day) return 1;
}
}
//If month have 29 days
if(House == 2)
{
if(House+MAX_DAYS > 29)
{
new newday = (29-House);
new newday1 = MAX_DAYS-newday;
if(newday1 != Day) return 1;
}
}
ResetPlayerHouseID(House);
House = 1;
format(House,48,"Apartment");
CheckHouse(id);
DestroyDynamicPickup(House);
House = CreateDynamicPickup(1273, 23, House,House,House,-1,-1,-1,100.0);
DestroyDynamicMapIcon(House);
House = CreateDynamicMapIcon(House,House,House, 31, 0, -1, -1, -1, 100.0);
format(string,sizeof(string),"{29CC3F}Owner: "COL_WHITE"Apartment\n{29CC3F}Vrsta kuce: "COL_WHITE"%s\n{29CC3F}Cena: "COL_WHITE"%d\n{29CC3F}Level: "COL_WHITE"%d\n{29CC3F}Address: "COL_WHITE"%s\n (/buyhouse)",House,House,House,House);
UpdateDynamic3DTextLabelText(House,-1,string);
printf("House ID %d has been unowned",id);
}
}
}
foreach(Player, i)
{
//===Bills===
if(Player != 999)
{
Player++;
if(Player >= 60) {Player = 0; Player++;}
if(Player == 60)
{
Player = 0;
new money = randomEx(50,150);
SendFormatMSG(i,-1,"You pay for house bills {13AD32}$%d",money);
GivePlayerMoney(i,-money);
}
}
//Phone
if(Calling > 0)
{
Calling--;
if(Calling == 0) {SCM(i,-1,"There is no answer.");}
}
if(Player > 0) Player--;
}
return 1;
}
stock UpdatePlayerInformation(playerid)
{
new dFile;
format(dFile, 35, FILE_FOR_PLAYER, GetName(playerid));
new
INI:UserFile = INI_Open(dFile);
INI_WriteFloat(UserFile, "pSpawnX", Player);
INI_WriteFloat(UserFile, "pSpawnY", Player);
INI_WriteFloat(UserFile, "pSpawnZ", Player);
INI_WriteInt(UserFile, "pSpawn", Player);
INI_WriteInt(UserFile, "pSpawnInt", Player);
INI_WriteInt(UserFile, "pVW", Player);
INI_WriteInt(UserFile, "RobHouse", Player);
INI_WriteInt(UserFile, "HouseID", Player);
INI_WriteInt(UserFile, "Bill", Player);
INI_Close(UserFile);
}
stock ResetPlayerHouseID(name[])
{
new dFile;
format(dFile, 35, FILE_FOR_PLAYER, name);
new
INI:UserFile = INI_Open(dFile);
INI_WriteInt(UserFile, "HouseID", 999);
INI_Close(UserFile);
}Neke slike/video za lakse dobivanje pomoci(neobavezno):
