Jump to content

Despre job-ul trucker.


God.exee

Recommended Posts

Salutare. Am si eu o problema legata de job-ul trucker. Cand pierd remorca aceasta nu se reataseaza camionului, ci sunt eu nevoit sa opresc sa o iau. Stie cineva cum pot sa fac ca atunci cand remorca se dezataseaza sa se prinda ea automat la loc? 

Multumesc anticipat.

Link to comment
Share on other sites

Folosesti functia asta 

http://wiki.sa-mp.com/wiki/AttachTrailerToVehicle

Dar faci o verificare la un timer din secunda in secunda de exemplu si verifici daca playerul are jobul x, daca player este sofer, daca vehiclemodelul este de camion si apoi if cu aceasta functie

http://wiki.sa-mp.com/wiki/IsTrailerAttachedToVehicle

Si dupa te folosesti de functia de sus de tot cu atasatul trailerului

 

    __  ____      __           
   /  |/  (_)____/ /____  _____
  / /|_/ / / ___/ __/ _ \/ ___/
 / /  / / (__  ) /_/  __/ /    
/_/  /_/_/____/\__/\___/_/     
SERVICII SCRIPTING DE CALITATE
Pagina     Scripting     pawn
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.