How to make random checkpoints ?
#7

Yes.

pawn Code:
public OnPlayerEnterCheckpoint( playerid )
{
    new
        rand = random( sizeof( checkpoints ) )
    ;
    SetPlayerCheckpoint( playerid, checkpoints[ rand ][ 0 ], checkpoints[ rand ][ 1 ], checkpoints[ rand ][ 2 ], 3.0 );
    return 1;
}
Reply


Messages In This Thread
How to make random checkpoints ? - by bustern - 28.08.2013, 18:26
Re: How to make random checkpoints ? - by ProjectMan - 28.08.2013, 18:35
Re: How to make random checkpoints ? - by Konstantinos - 28.08.2013, 18:38
Re: How to make random checkpoints ? - by bustern - 28.08.2013, 19:05
Re: How to make random checkpoints ? - by Konstantinos - 28.08.2013, 19:09
Re: How to make random checkpoints ? - by bustern - 28.08.2013, 19:15
Re: How to make random checkpoints ? - by Konstantinos - 28.08.2013, 19:24
Re: How to make random checkpoints ? - by bustern - 28.08.2013, 19:28
Re: How to make random checkpoints ? - by ProjectMan - 28.08.2013, 19:33

Forum Jump:


Users browsing this thread: 1 Guest(s)