06.07.2010, 05:37
Try this:
For example, you want to put Vehicle ID 5 until ID 15 to go to virtual world number 9, so you do this:
Or, if you want all the cars to go to virtual world number 9:
Код:
for(new i=#your first car id you want to change the virtual world#; i <= #your last car id you want to change the virtual world#; i++)
{
SetVehicleVirtualWorld(i, #virtual world id#);
}
Код:
for(new i=5; i <= 15; i++)
{
SetVehicleVirtualWorld(i, 9);
}
Код:
for(new i=0; i < MAX_VEHICLES; i++) //if you use MAX_VEHICLES, use '<' instead of '<=')
{
SetVehicleVirtualWorld(i, 9);
}

