Random spawn does'nt work
#1

Hi
I made a random spawn that does'nt work
Here is the code:
Код:
if(strcmp(cmdtext, "/rocket", true) == 0)
		{
if (RandomSpawn == 0)
			{
			InCar[playerid] = false;
			SetPlayerPos(playerid,2618.1104,2721.5310,36.5386);
			SetPlayerFacingAngle(playerid, 182.8171);
			SetCameraBehindPlayer(playerid);
		}
		if (RandomSpawn == 1)
			{
			InCar[playerid] = false;
			SetPlayerPos(playerid,2608.7087,2769.7107,23.8222);
			SetPlayerFacingAngle(playerid,179.0337);
			SetCameraBehindPlayer(playerid);
		}
		if (RandomSpawn == 2)
			{
			InCar[playerid] = false;
			SetPlayerPos(playerid, 2652.5449,2699.1731,19.3222);
			SetPlayerFacingAngle(playerid, 12.9889);
			SetCameraBehindPlayer(playerid);
		}
Reply


Messages In This Thread
Random spawn does'nt work - by MathijsS - 29.11.2011, 14:59
Re: Random spawn does'nt work - by sleepysnowflake - 29.11.2011, 15:01
Re: Random spawn does'nt work - by Kostas' - 29.11.2011, 15:03
Re: Random spawn does'nt work - by MathijsS - 29.11.2011, 15:06
Re: Random spawn does'nt work - by MathijsS - 29.11.2011, 15:38
Re: Random spawn does'nt work - by Kostas' - 29.11.2011, 15:41
Re: Random spawn does'nt work - by MathijsS - 29.11.2011, 16:14
Re: Random spawn does'nt work - by MathijsS - 29.11.2011, 16:30
Re: Random spawn does'nt work - by AstonDA-G - 29.11.2011, 16:40
Re: Random spawn does'nt work - by MathijsS - 29.11.2011, 16:43

Forum Jump:


Users browsing this thread: 5 Guest(s)