Jump to content
  • 0

respawn car


Question

Posted

am o problema cu masinile,cum pot sa le fac sa se respawneze automat singure, playeru sa coboare din ea iar daca nu se suie sa zicem in 2 min sa se spawneze la loc.

3 answers to this question

Recommended Posts

Posted

Sa spunem ca ai masinile

 AddStaticVehicle(coordonate); 
Faci asa la toate masinile :
 AddStaticVehicleEx(coordonate,timp); 

nu e bn

Deci:

Tu folosesti AddStaticVehicle(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:angle, color1, color2);

Ca sa se respawneze masina schimbi alea in

AddStaticVehicleEx(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:angle, color1, color2, respawn_delay)

Dictionar:

1.modelid - model vehicul;

2.Float:spawn_x, Float:spawn_y, Float:spawn_z - coordonate x,y,z;

3.Float:angle - rotatie

4.color1, color2 - culoarea 1 si culoarea 2

5.respawn_delay - asta face sa se respawneze

Guest
This topic is now closed to further replies.
  • 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.