31.10.2009, 19:04
Hello i have problem with virtualvorld:
on script:
ongamemodeinit
Meniu:
Kai nusitelinu į stuntą 25 worlde ir paraљau /car pasirenku maљina ir man jos neiљmeta kame bėda kame blogai kode yra?
When i teleported in stunt 25 virtual vorld and i send /car I emit a table and choose the first point and does not fall where is problem
please help ;(
on script:
Код:
new masinaa[5];
Код:
car = CreateMenu("car:",1,400.0, 200.0, 175.0, 175.0);
AddMenuItem(car, 0, "sultan" );
AddMenuItem(car, 0, "nrg-500" );
AddMenuItem(car, 0, "infernus" );
AddMenuItem(car, 0, "Monster" );
Код:
for(new i; i<5; i++)
{
SetVehicleVirtualWorld(masinaa[i], 25);
}
Код:
if (CurrentMenu == car)
{
switch(row)
{
case 0:
{
masinaa[0] = CreateVehicle(549,-2086.6904,-97.6705,34.8622,86.8745,72,39,-1);
}
case 1:
{
masinaa[1] = CreateVehicle(549,-2082.2607,-97.9056,34.8625,86.8821,72,39,-1);
}
case 2:
{
masinaa[2] = CreateVehicle(549,-2071.1719,-98.1335,34.8645,99.1915,72,39,-1);
}
case 3:
{
masinaa[3] = CreateVehicle(549,-2062.8997,-96.7906,34.8644,99.2324,72,39,-1);
}
case 4:
{
masinaa[4] = CreateVehicle(549,-2058.2996,-96.0410,34.8649,99.2429,72,39,-1);
}
}
}
When i teleported in stunt 25 virtual vorld and i send /car I emit a table and choose the first point and does not fall where is problem
please help ;(

