Bus Route Help
#2

Quote:
Originally Posted by [TC]XxJuggaloxX
Посмотреть сообщение
So I am trying to create a bus route based on a dynamic system. I want it to follow the ID of the labels placed around.
This is what I have, But I am not sure if this would be a good start to being able to do what I want.

Any help would be appreciated.

pawn Код:
CMD:startroute(playerid, params[])
{
    new stopid;
    if(CheckPointCheck(playerid))
    {
        SendClientMessageEx(playerid, COLOR_WHITE, "Please ensure that your current checkpoint is destroyed first (You have another existing checkpoint).");
        return 1;
    }
    else
    {
    switch(BStopInfo[stopid][bsTextID])
    {
        case 0:
        {
                 SetPlayerCheckpoint(playerid,BStopInfo[stopid][bsExteriorX], BStopInfo[stopid][bsExteriorY], BStopInfo[stopid][bsExteriorZ], 4.0);
        }
    }
    return 1;
}
I'd use Racecheckpoints for this SetPlayerRaceCheckpoint use a Freeze timer once player is in checkpoint IsPlayerInRaceCheckpoint
Reply


Messages In This Thread
Bus Route Help - by [TC]XxJuggaloxX - 29.10.2012, 06:15
Re: Bus Route Help - by guitarmandanny - 29.10.2012, 06:41
Re: Bus Route Help - by [TC]XxJuggaloxX - 29.10.2012, 08:00
Re: Bus Route Help - by guitarmandanny - 29.10.2012, 09:31
Re: Bus Route Help - by [TC]XxJuggaloxX - 29.10.2012, 10:56
Re: Bus Route Help - by [TC]XxJuggaloxX - 29.10.2012, 13:50
Re: Bus Route Help - by [TC]XxJuggaloxX - 30.10.2012, 03:58

Forum Jump:


Users browsing this thread: 1 Guest(s)