09.08.2016, 11:41
Quote:
|
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"); |
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?


