08.03.2013, 17:00
I can not think of a way to do it as my mind is stuck in the same way as I done it above, getting the coordinates and if the player is at one of those houses it will set a certain bool to true etc..
Could you suggest any way to do it?
EDIT: I have this on my OnGameModeInit
But it still does the same problem.
Could you suggest any way to do it?
EDIT: I have this on my OnGameModeInit
pawn Код:
for( new i = 0; i <= MAX_HOUSES; i++)
{
format(file, sizeof(file), "House_%d", i);
if(fexist(file))
{
x = dini_Float(file, "EnterX");
y = dini_Float(file, "EnterY");
z = dini_Float(file, "EnterZ");
HouseInfo[i][EnterX] = x;
HouseInfo[i][EnterY] = y;
HouseInfo[i][EnterZ] = z;
}
}