04.11.2012, 06:49
Please, explain me how to make HOUSES with the same interior, but every house with different virtual world.
I tried this:
For /enter , /exit and /rentroom too.
But if I make a house in property.cfg, the virtual world value is deleted when the server turn on.
I tried this:
Код:
enum hInfo
{
............
hWorld,
};
Код:
if(SpawnChange[playerid])
{
...............
SetPlayerVirtualWorld(playerid,HouseInfo[house][hWorld]);
Код:
if(strcmp(cmd, "/buyhouse", true) == 0) ..................................... SetPlayerVirtualWorld(playerid,HouseInfo[h][hWorld]);
But if I make a house in property.cfg, the virtual world value is deleted when the server turn on.
Код:
public LoadProperty()
{
new arrCoords[30][64];
new strFromFile2[256];
new File: file = fopen("property.cfg", io_read);
.........................................
HouseInfo[idx][hWorld] = strval(arrCoords[29]);

