How do I load locally instead of globally?
#3

Quote:
Originally Posted by Freaksken
View Post
What do you mean by the part in bold. Give a code example of where a player can currently use the point of another player.
Because now, the only thing you have in the given code, is the creation of the file and the accessing of the personal point.

EDIT:
You don't need this when creating the point.
Code:
HousePoint[playerid][PosX] = dini_Float(file, "X");
HousePoint[playerid][PosY] = dini_Float(file, "Y");
HousePoint[playerid][PosZ] = dini_Float(file, "Z");
Basically, when a player uses the command /housepoint, it creates a .ini file under the players name, which saves the players location and assigns a housepoint in which ONLY the player is able to use the command /furniture.

However, if a second player was to come to the server, the command /furniture would work in the previously assigned position, and the player would have to assign a new housepoint again, and it would keep going.

How do I make it so when a player uses the command /housepoint, only he can use the command /furniture in the area, instead of everyone being able to use the command in the assigned position?
Reply


Messages In This Thread
How do I load locally instead of globally? - by Avetsky - 08.08.2016, 21:23
Re: How do I load locally instead of globally? - by Freaksken - 09.08.2016, 04:00
Re: How do I load locally instead of globally? - by Avetsky - 09.08.2016, 11:41
Re: How do I load locally instead of globally? - by Freaksken - 09.08.2016, 20:31

Forum Jump:


Users browsing this thread: 1 Guest(s)