Jump to content

CreateVehicle


IosifR

Recommended Posts

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!

Link to comment
Share on other sites

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 

Link to comment
Share on other sites

Join the conversation

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

Guest
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.