What is wrong here?
#1

I have this codes, but they don't work.
I don't know what should i do to make them work. ?
pawn Код:
public IsARentBike(carid)
{
    /*for(new i = 1; i < sizeof(CarInfo); i++)
    {
        if(CarInfo[i][cFaction] == 20)  return 1;
    }*/

    for(new i = 0; i<MAX_PLAYERS; i++)
    {
        new vehid = GetPlayerVehicleID(i);
        if(vehid = 327)
        {
            return 1;
        }
    }
    return 0;
}
pawn Код:
public IsARentBike(carid)
{
    for(new i = 1; i < sizeof(CarInfo); i++)
    {
        if(CarInfo[i][cFaction] == 20)  return 1;
    }
    return 0;
}
Reply


Messages In This Thread
What is wrong here? - by pantelimonfl - 06.03.2011, 14:47
Re: What is wrong here? - by iMonk3y - 06.03.2011, 14:55
Re: What is wrong here? - by pantelimonfl - 06.03.2011, 14:57
Re: What is wrong here? - by Shadow™ - 06.03.2011, 14:58
Re: What is wrong here? - by iMonk3y - 06.03.2011, 15:00
Re: What is wrong here? - by alpha500delta - 06.03.2011, 15:02
Re: What is wrong here? - by pantelimonfl - 06.03.2011, 15:08
Re: What is wrong here? - by iMonk3y - 06.03.2011, 15:09
Re: What is wrong here? - by Shadow™ - 06.03.2011, 15:12
Re: What is wrong here? - by iMonk3y - 06.03.2011, 15:15

Forum Jump:


Users browsing this thread: 1 Guest(s)