Just a simple question
#1

Hey .. I have a small question actually, not even a problem.

I have my var:
Код:
new admincar[15];
now under
OnPlayerEnterVehicle I set this:
Код:
if(vehicleid == admincar[0])
{
return 1;
}
I understand it has no effect but I will implement that later, now is there a way to put all the arrays in one if? instead of doing
Код:
if((vehicleid == admincar[0]) || vehicleid == admincar[1])
etc etc...
Reply


Messages In This Thread
Just a simple question - by Paladin - 20.08.2009, 13:29
Re: Just a simple question - by Dark_Kostas - 20.08.2009, 13:34
Re: Just a simple question - by Redgie - 20.08.2009, 13:35
Re: Just a simple question - by Redgie - 20.08.2009, 13:36
Re: Just a simple question - by Paladin - 20.08.2009, 13:39
Re: Just a simple question - by Dark_Kostas - 20.08.2009, 13:39
Re: Just a simple question - by Redgie - 20.08.2009, 13:42

Forum Jump:


Users browsing this thread: 1 Guest(s)