[pomoc] virtualworld

Započeo m@rio
11. Jul 2011.
461
pregleda
2
postova
m@rio
4
Shot Caller
11. Jul 2011.
Skripta koju koristim: mod od 0
Detaljan opis problema: zelio bi namjestit da kad se vozilo spawna da mu namjesti VW na 1, ali ne mogu
Dio skripte:
public OnVehicleSpawn(vehicleid)
{
new vozilo = vehicleid;
if(Stunt(vozilo))
{
SetVehicleVirtualWorld(vozilo, 1);
}
return 1;
}
ongamemodeinit:
stuntcar = AddStaticVehicleEx(411,12.29619598,1567.84924316,12.55000019,134.99987793,-1,6,15); //Infernus
stuntcar = AddStaticVehicleEx(411,2.71408463,1551.90893555,12.55602360,134.99450684,3,6,15); //Infernus
stuntcar = AddStaticVehicleEx(411,16.22920609,1563.77514648,12.55000019,134.99987793,-1,-1,15); //Infernus
stuntcar = AddStaticVehicleEx(411,19.29091644,1558.59545898,12.55000019,134.99450684,42,1,15); //Infernus
stuntcar = AddStaticVehicleEx(411,24.35033226,1555.58972168,12.55000019,134.99450684,11,1,15); //Infernus
stuntcar = AddStaticVehicleEx(411,13.11739922,1540.43920898,12.55000019,134.99450684,17,1,15); //Infernus
stuntcar = AddStaticVehicleEx(411,28.46865845,1551.58728027,12.55000019,134.99450684,6,1,15); //Infernus
stuntcar = AddStaticVehicleEx(411,5.67184544,1559.93872070,12.55000019,134.99450684,126,-1,15); //Infernus
stuntcar = AddStaticVehicleEx(411,20.70880318,1544.02685547,12.55000019,134.99450684,-1,15,15); //Infernus
stuntcar = AddStaticVehicleEx(411,11.66999054,1550.48632812,12.55000019,134.99450684,-1,6,15); //Infernus
na vrhu skrpte:
new stuntcar;
stock:
stock Stunt(vozilo)
{
if(vozilo == stuntcar || vozilo == stuntcar || vozilo == stuntcar || vozilo == stuntcar || vozilo == stuntcar || vozilo == stuntcar || vozilo == stuntcar || vozilo == stuntcar || vozilo == stuntcar || vozilo == stuntcar)
{
return 1;
}
return 0;
}
Neke slike/video za lakse dobivanje pomoci(neobavezno):
Mr.Lowrey
5
Godfather
11. Jul 2011.
stock ovako probaj
stock Stunt(vozilo) 

if(vozilo == stuntcar || vozilo == stuntcar || vozilo == stuntcar || vozilo == stuntcar || vozilo == stuntcar || vozilo == stuntcar || vozilo == stuntcar || vozilo == stuntcar || vozilo == stuntcar || vozilo == stuntcar) 

return 1; 


public OnVehicleSpawn(vehicleid) 

new vozilo = GetPlayerVehicleID; 
if(Stunt(vozilo)) 

SetVehicleVirtualWorld(vozilo, 1); 

  return 1; 

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha