19.04.2020, 04:29
(
Last edited by SiaReyes; 19/04/2020 at 06:38 AM.
)
I want to make random spawns using enum with ids.
Example
Each id has a specific number of spawn coordinates.
If a player join ds ID 1 , the player should be spawned in any of those 3 coordinates. If Id 2, player should be spawned any of those 2 coordinates
Example
Code:
enum dsinfo
{
id,
Float:X,
Float:Y,
Float:Z,
};
new ds[][dsinfo] =
{
{1, x, y, z},
{1, x, y, z},
{1, x, y, z},
{2, x, y, z},
{2, x, y, z},
};
If a player join ds ID 1 , the player should be spawned in any of those 3 coordinates. If Id 2, player should be spawned any of those 2 coordinates

