Jump to content

Cum sa faci o masina tunata pentru toti!


Recommended Posts

Azi o sa va explic cum sa faceti o masina tunata in care sa intre toti playeri!(adica sa nu fie personalizata)

Deci sa incepem:

adaugam new vehicle; pe la inceputul scriptului(vehicle il puteti schimba cu ce vreti voi)

Dam /veh si masina pe care o doriti!(ex: Sultan, Elegy..etc)

Acum sunt 2 moduri pentru a tuna masina:


Mergem la public OnPlayerEnterVehicle

si bagam:

if (vehicleid == vehicle)
          AddVehicleComponent(vehicle, 1010); //NoS
            return 1;
Aranjatile voi ca leam facut de mana. Al doilea mod: punem la forward forward TuneCar() Dupa la public OnVehicleSpawn punem SetTimer("TuneCar",1000,0); Acum adaugam noi in GM public TuneCar() {         return 1; } Si acum adaugam aici AddStaticComponent(vehicle, 1010); //NoS Cam asa:
public TuneCar()
AddStaticComponent(vehicle, 1010); //NoS
return 1;

Aranjatile si pe astea voi.(va recomand al doilea mod)

Si asa faceti o masina tunata in care sa intre toti.(celelalte componente le cautati pe net)

Sper ca data viitoare sa faceti si singuri!



Link to comment
Share on other sites

  • 4 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.