Random spawn does'nt work
#10

Quote:
Originally Posted by AstonDA-G
Посмотреть сообщение
Try kostas' script without the return 1's in the cases:

Код:
    if(strcmp(cmdtext, "/rocket", true) == 0)
{
    switch(random(3)) {
        case 0:
        {
            InCar[playerid] = false;
            SetPlayerPos(playerid,2618.1104,2721.5310,36.5386);
            SetPlayerFacingAngle(playerid, 182.8171);
            SetCameraBehindPlayer(playerid);
        }
        case 1:
        {
            InCar[playerid] = false;
            SetPlayerPos(playerid,2608.7087,2769.7107,23.8222);
            SetPlayerFacingAngle(playerid,179.0337);
            SetCameraBehindPlayer(playerid);
        }
        case 2:
        {
            InCar[playerid] = false;
            SetPlayerPos(playerid, 2652.5449,2699.1731,19.3222);
            SetPlayerFacingAngle(playerid, 12.9889);
            SetCameraBehindPlayer(playerid);
        }
    }
    return 1;
}
butt that is not the problem, look one post above you
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: 6 Guest(s)