Adding Func. in less lines possible
#1

Hello .. I wanna do Attach3dTextLabelToVehicle but in less lines possible .. problem is there are about 10 cars and do i need to make functions for all vehicles separetely or i can make it in few lines..

I already made public function for detecting this cars

pawn Код:
public IsAnsipaCar(carid)
{
    if((carid >= 23) && (carid <= 35))
    {
        return 1;
    }
    return 0;
}
Reply


Messages In This Thread
Adding Func. in less lines possible - by Stereotype - 06.08.2013, 12:44
Re: Adding Func. in less lines possible - by Konstantinos - 06.08.2013, 12:51
Re: Adding Func. in less lines possible - by Stereotype - 06.08.2013, 12:57
Re: Adding Func. in less lines possible - by Psymetrix - 06.08.2013, 19:45
Re: Adding Func. in less lines possible - by Misiur - 06.08.2013, 19:49
Re: Adding Func. in less lines possible - by Stereotype - 08.08.2013, 15:28
Re: Adding Func. in less lines possible - by Pottus - 08.08.2013, 17:35
Re: Adding Func. in less lines possible - by Stereotype - 09.08.2013, 11:32

Forum Jump:


Users browsing this thread: 1 Guest(s)