21.04.2009, 18:15
sandra can you please give an example of
for(new i=0; i<2; i++)
{
if(vehicleid == teamcars[i])
{
//The vehicle is a teamcar
//rest of code
break; //This stops the loop
}
}
Thanks
for(new i=0; i<2; i++)
{
if(vehicleid == teamcars[i])
{
//The vehicle is a teamcar
//rest of code
break; //This stops the loop
}
}
Thanks

