Hi, I’m trying to know the positions of all the players, to determine if they are close to a position or not, I can’t manage to collect the positions of all the players at once.
I redid a hairdresser script, you take a place via the cashier and it teleports you to a seat with a ped coming except that this script was made for a single store, like you couldn’t make two hairdressers, I fixed it except that I don’t know how to make it so that when someone is seated in a hairdresser it blocks the possibility of taking a hairdresser in that store, there was already a callback that was put in except that it blocked the everyone seats, so that’s what I’m looking for to know everyone’s pos to check if there is a guy in the barber seat
I would have thought to take the list of players via esx_society, then take the pos via the sources of each player