Problem with vehicle function
#1

script dont respond to this code
PHP Code:
stock IsAdminVehicle(carid)
{
    if(
carid >= AdminVeh[0] && carid <= AdminVeh[12])
    {
        return 
true;
    }
    return 
false;

also i try out with this code but no effect but with this one script dont load vehicles
PHP Code:
stock IsAdminVehicle(carid)
{
       for(new 
0sizeof(AdminVeh); b++)
    {
        if(
carid == AdminVeh[b]) return true;
    }
    return 
false;

somebody see problem or write new code
Reply


Messages In This Thread
Problem with vehicle function - by awiaprox - 08.02.2019, 20:24
Re: Problem with vehicle function - by TokicMajstor - 08.02.2019, 20:49
Re: Problem with vehicle function - by Pottus - 09.02.2019, 02:18
Re: Problem with vehicle function - by awiaprox - 09.02.2019, 20:24
Re: Problem with vehicle function - by awiaprox - 09.02.2019, 20:30

Forum Jump:


Users browsing this thread: 1 Guest(s)