[Help] Car id's
#1

I wan't to create multiple cars..
pawn Код:
car[1]= CreateVe...
car[2]= CreateVe...
car[3]= CreateVe...
Than function that checks if car player enterd is Car[1...]

pawn Код:
public IsSomeCar(carid)
{
    for(new i=0; i<3; i++)
    {
        if(carid == car[i] )
        {
            return 1;
        }
        return 0;
    }
}
It doesn't work for me... And YES I searched the forum.
Reply
#2

pawn Код:
public IsSomeCar(carid)
{
    for(new i=1; i<3; i++)
    {
        if(carid == car[i] )
        {
            return 1;
        }
    }
    return 0;
}
Try that.
Reply
#3

For all the car id's you need just go to
http://www.gtavision.com/index.php?s...ntent&site=122
I found that when i needed and hunter id have fun.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)