Jump to content

Recommended Posts

Posted (edited)

Cum fac și eu o comanda sa creez un vehicle

 

 

 

 

 

 

 

 

 

 

 

 

 

Edited by IosifR
Posted

Salut, poti folosii:

modelid - id-ul masinii

x, y, z, angle - coordonatele unde doresti sa o spawnezi

culoare1, culoare2 - id-ul de culori pe care il doresti.

timerdespawn - setezi un numar pana cand se respawneaza masina (Daca nu ai o functie sa-ti setezi din milisecunde in secunde va trebuii sa te folosesti de 1 secunda - 1000milisecunde sau ceva de genu).

CreateVehicle(modelid, x, y, z, angle, culoare1, culoare2, timerdespawn); - Functia asta o poti folosii daca doresti sa se respawneze masina.

Dar mai ai si alta functie care nu necesita un timp de respawnare.

AddStaticVehicle(modelid, x, y, z, angle, culoare1, culoare2); - Si nu ti se va despawna.

Sper ca te-am ajutat!

Posted

Am facut asa:

Citat

CMD:infernus(playerid, params[])
{
    AddStaticVehicle(411, 1767.1708, -2039.9027, 13.5248, 0, 1, 1);
    return 1;
}

Nu imi da nicio eroare cand compilez dar cand scriu /infernus nu merge 

Posted (edited)

// edited.

Edited by matei_
// prostie.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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.