SA-MP Forums Archive
SetHouses = problem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: SetHouses = problem (/showthread.php?tid=392973)



SetHouses = problem - Akcent_Voltaj - 16.11.2012

i got /sethouses from ravens but i want to make it ini. so i can add houses in game without setted... please help .REP!


PHP код:
if(strcmp(cmd"/sethousesss"true) == 0)
                    {
                        for(new 
0sizeof(BizzInfo); i++)
                        {
                            
format(stringsizeof(string),"LARP/Bizzes/%d.ini",i)
                            if(
dini_Exists(string))
                            {
                                
dini_IntSet(string"Setted",1);
                            }
                        }
                        return 
1;
                    } 



Re: SetHouses = problem - Mustafa6155 - 16.11.2012

U mean
Quote:

dUserSetINT(PlayerName(playerid)).("Setted",Setted[playerid]);

U mean this?? if i helped please +REP


Re: SetHouses = problem - Akcent_Voltaj - 16.11.2012

i have format var ini..


Re: SetHouses = problem - Mustafa6155 - 16.11.2012

O this is ini
Quote:

INI_Int("Deaths",PlayerInfo[playerid][pDeaths]);




Re: SetHouses = problem - Akcent_Voltaj - 17.11.2012

anyone please help!!


Re: SetHouses = problem - Mustafa6155 - 17.11.2012

read my reply that is ini!