Jump to content
  • 0

Intrebare Masini


ExTREME.

Question

3 answers to this question

Recommended Posts

deci  sa inteleg

AttachObjectToVehicle(objectid, vehicleid, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0);

objectid idu obiectului

vehicleid idu vehicului

si 0.0, 0.0, 1.0, 0.0, 0.0, 0.0 <= astea ce sunt sunt pozitilea de la obiect sau de la masina:D ca eu vreau doar la doua sau 3 masini sa le tunez nu .. la toate

Link to comment
Share on other sites

[pawn]AttachObjectToVehicle(objectid, vehicleid, Float:fOffsetX, Float:fOffsetY, Float:fOffsetZ, Float:fRotX, Float:fRotY, Float:RotZ)[/pawn]

Istoric :

objectid                  Obiectul care va fi atasat de vehicul.

vehicleid                  Id-ul vehiculului cu obiectul atasat.

Float:OffsetX          Distanta dintre vehicul si obiect in directia X.

Float:OffsetY       Distanta dintre vehicul si obiect in directia Y.

Float:OffsetZ       Distanta dintre vehicul si obiect in directia Z.

Float:RotX           Rotatia X intre obiect si vehicul.

Float:RotY           Rotatia Y intre obiect si vehicul.

Float:RotZ           Rotatia Z intre obiect si vehicul.

Sursa : http://wiki.sa-mp.com/wiki/AttachObjectToVehicle

Link to comment
Share on other sites

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