When spawn, teleport on random place.
#6

Quote:
Originally Posted by HydraX
Quote:
Originally Posted by mansonh
Thats a nice one if you have specific areas
There is however another way which is completely random, using the samp-gta map system zreset SetPlayerPosFindZ.

pawn Код:
public OnPlayerSpawn(playerid)
{
  new Float:randx = float(random(4000)-2000);
  new Float:randy = float(random(4000)-2000);
  SetPlayerPosFindZ(playerid, randx, randy, 0.0);
  return 1;
}
This is more for pros or experts
I'll take that as a compliment.

But it is still easy to use for new scripters, they don't need to know exactly how it works.

Quote:
Originally Posted by Reality King
i use this and its a pretty good way :P
Reply


Messages In This Thread
When spawn, teleport on random place. - by MummyKillerSLO - 07.02.2010, 00:05
Re: When spawn, teleport on random place. - by Miguel - 07.02.2010, 00:15
Re: When spawn, teleport on random place. - by mansonh - 07.02.2010, 00:45
Re: When spawn, teleport on random place. - by HydraX - 07.02.2010, 01:56
Re: When spawn, teleport on random place. - by Onyx09 - 07.02.2010, 01:57
Re: When spawn, teleport on random place. - by mansonh - 07.02.2010, 02:23
Re: When spawn, teleport on random place. - by [Bm]rap45 - 07.02.2010, 04:32
Re: When spawn, teleport on random place. - by mansonh - 07.02.2010, 04:37
Re: When spawn, teleport on random place. - by [Bm]rap45 - 07.02.2010, 04:43

Forum Jump:


Users browsing this thread: 1 Guest(s)