SA-MP Forums Archive
What that means? - 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 means? (/showthread.php?tid=165000)



What that means? - erikhenri - 03.08.2010

im newbi i dont know what that means
i want to add cars to gang but my car ids are not 164 167.need fast help

public IsAGangCar2(carid)
{
if(carid >= 164 && carid <= 167)
{
return 1;
}
return 0;


Re: What that means? - cofy1 - 03.08.2010

car id 400 ==> 610 (or something)


Re: What that means? - erikhenri - 03.08.2010

Quote:
Originally Posted by cofy1
Посмотреть сообщение
car id 400 ==> 610 (or something)
UMM?if i want to add cars,402,419,475,480 what i need to do?


Re: What that means? - Bumbis - 03.08.2010

if(carid == 402 || carid == 419 || carid == 475 || carid == 480)
{


Re: What that means? - cofy1 - 03.08.2010

pawn Код:
public IsAGangCar2(carid)
{
    if(carid == 402 || carid == 419 || carid == 475 || carid == 480)
    {
    return 1;
    }
return 0;
}