Posts: 92
Threads: 21
Joined: Jul 2010
Reputation:
0
I have a server, and we spawn all at 1 point. Now i need a command that can make them move random, left right etc.
like unjam. But i don't have a clue how to. Hope somebody can help me.
Posts: 1,167
Threads: 57
Joined: Jul 2010
Reputation:
0
new Float:RandomSpawn[4][3] = {
{x.x,y.y,z.z}.
{x.x,y.y,z.z}.
{x.x,y.y,z.z}.
{x.x,y.y,z.z}
};
at spawn
new rand = random(sizeof(RandomSpawn));
SetPlayerPos(playerid,RandomSpawn[rand][0],RandomSpawn[rand][1],RandomSpawn[rand][2]);
Posts: 92
Threads: 21
Joined: Jul 2010
Reputation:
0
haha, this is not what i meant but thnx, I need a command when i type /unstuck that players in my spot will be moved to forward,right,left,backward. So were not stuck anymore. And it should be like 1m away from me or so
Posts: 1,167
Threads: 57
Joined: Jul 2010
Reputation:
0
But why you want be stuck together at start?, make a random and you will not need this /unstuck
Posts: 92
Threads: 21
Joined: Jul 2010
Reputation:
0
Because i have more spawns, and different maps and there are no restarts..