problem with my script when entering car
#4

sure tyvm
Truck:
Код:
stock IsTruckerVehicle(vehicleid)
{
	for(new i=0; i<10; i++)
	{
	    if(vehicleid == JobInfo[JOB_TRUCKER][jCars][i]) return 1;
	}
	return 0;
}
DMV:
Код:
stock IsDMVCar(vehicleid)
{
    for(new i=0; i<5; i++)
    {
        if(vehicleid == DMVCar[i]) return 1;
    }
    return 0;
}
Is this what you need?
Reply


Messages In This Thread
problem with my script when entering car - by oblexive - 11.07.2012, 12:14
Re: problem with my script when entering car - by oblexive - 11.07.2012, 12:51
Re: problem with my script when entering car - by clarencecuzz - 11.07.2012, 14:34
Re: problem with my script when entering car - by oblexive - 11.07.2012, 15:04

Forum Jump:


Users browsing this thread: 2 Guest(s)