How to random spawn in this zone ? [help +rep]
#1



This zone and here my code below:

PHP код:
stock SetRandomSpawn(targetid)
{
           new 
Float:xFloat:yFloat:Z;
           
random(2655) - 2275;
           
random(201) - 368.0;
           
MapAndreas_FindZ_For2DCoord(xyZ);
           
SetPlayerPos(targetidxyZ);
           return 
1;

How to do it work?
Reply


Messages In This Thread
How to random spawn in this zone ? [help +rep] - by MasonSFW - 01.08.2015, 04:39
Re: How to random spawn in this zone ? [help +rep] - by Crayder - 01.08.2015, 06:44
Re: How to random spawn in this zone ? [help +rep] - by DTV - 01.08.2015, 06:44

Forum Jump:


Users browsing this thread: 1 Guest(s)