House System error[REP]+
#10

You didn't set the Opened File to a variable

Try now:

PHP код:
    new file[40],labelstring[100];//Pravljenje fajla i etiketu stringa
    
format(file,sizeof(file),"FHouse/Houses/%i.ini",id);//Formatiranje odabrane kuce
    
new INI:File INI_Open(file); // <------
    
INI_WriteInt(File"Price"HousePrice);//Pisanje informacija cena,lvl ostalo
    
INI_WriteInt(File"Owned"0);//Podesavanje vlasnista owner - 0
    
INI_WriteInt(File"VirtualWorld",GetPlayerVirtualWorld(playerid));//Pisanje u vitual svetu
    
INI_WriteFloat(File"XPos"x);//Odnos pozicije igraca na odnos checkpointa
    
INI_WriteFloat(File"YPos"y);//Automatski
    
INI_WriteFloat(File"ZPos"z);//Automatski
    
INI_WriteString(File"Owner""Nonusablenameforthishouse");
    
INI_Close(File);//Zatvaranje SII. 
Reply


Messages In This Thread
House System error[REP]+ - by Dejan12345 - 16.11.2016, 13:49
Re: House System error[REP]+ - by Bolex_ - 16.11.2016, 13:53
Re: House System error[REP]+ - by Dejan12345 - 16.11.2016, 14:02
Re: House System error[REP]+ - by RyderX - 16.11.2016, 14:04
Re: House System error[REP]+ - by Dejan12345 - 16.11.2016, 14:05
Re: House System error[REP]+ - by RyderX - 16.11.2016, 14:43
Re: House System error[REP]+ - by Dejan12345 - 17.11.2016, 11:43
Re: House System error[REP]+ - by StrikerZ - 17.11.2016, 11:50
Re: House System error[REP]+ - by Dejan12345 - 17.11.2016, 12:12
Re: House System error[REP]+ - by ReshiramZekrom - 17.11.2016, 15:46
Re: House System error[REP]+ - by Dejan12345 - 18.11.2016, 11:15

Forum Jump:


Users browsing this thread: 2 Guest(s)