SA-MP Forums Archive
What that mean? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: What that mean? (/showthread.php?tid=248795)



What that mean? - TheProffet - 15.04.2011

public FBICARS(carid)
{
if((carid >= 39) && (carid <= 43) || (carid >= 179 && carid <= 183))
{
return 1;
}
return 0;
}

HelP?


Re: What that mean? - [L3th4l] - 15.04.2011

pawn Код:
stock FBICARS(carid)
{
    switch(carid)
    {
        case 39..43, 179..183: return 1;
    }
    return 0;
}



Re: What that mean? - TheProffet - 15.04.2011

The code is ok, but what that mean the numbers all?


Re: What that mean? - admantis - 15.04.2011

If the car id is between 39 and 43, or between 179 and 183 it will return 1.