The correct way to do this?
#3

You could also use switch.
pawn Код:
stock IsACopCar(vehicleid)
{
    switch (vehicleid)
    {
        case 427, 523, 596, 597, 598, 599, 601: return 1;
    }
    return 0;
}
Reply


Messages In This Thread
The correct way to do this? - by Torran - 25.01.2010, 15:17
Re: The correct way to do this? - by Correlli - 25.01.2010, 15:36
Re: The correct way to do this? - by On_Top_Non_Stop - 25.01.2010, 16:43
Re: The correct way to do this? - by smeti - 25.01.2010, 17:12
Re: The correct way to do this? - by Torran - 25.01.2010, 17:13

Forum Jump:


Users browsing this thread: 1 Guest(s)