Please Help
#1

Hi, I who are on their way home systems but does not go as I want to do that when you purchased the file name of the exchange house (home ideas) eg. The first player buys a home and then formation of a file named 1, the second player Looking for a house and then formation of a new file named nu 2, etc. who can please help Here is my code:
Код:
stock AddHouse(houseid)
{
new file[128];
format(file, sizeof(file), "houses/%i.ini", houseid);
if(!dini_Exists(house))
{
dini_Create(file);
dini_Set(file,"owner", "none";
dini_IntSet(file,"houseid",houseid);
dini_IntSet(file,"VirtualWorld",hInfo[playerid][world]);
}
}
I also want that every time at the same exchange and virtualworld
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)