28.03.2015, 08:39
Hi all, maybe you know, how I can get from the all my server houses one random house? My houses system is Dynamic, so I know, that it's possible.
This is my code, but checkpoint is going to the 0.0, 0.0, 0.0 coordinates.
HTML Code:
new house = random(MAX_HOUSES); SetPlayerCheckpointEx(playerid, PIZZA_DELIVERY_CHECKPOINT, HouseInfo[house][ExitX], HouseInfo[house][ExitY], HouseInfo[house][ExitZ], 3.0);
