Random spawn
#2

What's the full code for it? The coords aren't really helpful. Although something similar to this should suffice;
pawn Код:
public OnPlayerSpawn(playerid) {
new randomcoords = random(sizeof(variablename));
SetPlayerPos(playerid, variablename[randomcoords][0], variablename[randomcoords][1], variablename[randomcoords][2]);
return 1;
}
Reply


Messages In This Thread
Random spawn - by Micko123 - 28.04.2016, 17:13
Re: Random spawn - by Luis- - 28.04.2016, 17:16
Re: Random spawn - by Micko123 - 28.04.2016, 17:19
Re: Random spawn - by Stinged - 28.04.2016, 17:19
Re: Random spawn - by Micko123 - 28.04.2016, 17:21
Re: Random spawn - by Luis- - 28.04.2016, 17:21
Re: Random spawn - by Micko123 - 28.04.2016, 17:24
Re: Random spawn - by Luis- - 28.04.2016, 17:28
Re: Random spawn - by Micko123 - 28.04.2016, 17:32
Re: Random spawn - by Luis- - 28.04.2016, 17:37

Forum Jump:


Users browsing this thread: 1 Guest(s)