Jump to content

Question

Posted

Salut am vazut pe un srv de trucking o chestie cu un bac care se duce din ls pe o insula sta cateva sec si dupa se intoarce inapoi si tot asa. Are cineva idee cum as putea face am incercat sa fac sa se si sa se intoarca din comanda dar as vrea automat daca are cineva idee rog sa ma ajute multumesc

16189165.gifrastamaunbydeejaylobo1.gifsmileysw0181.gif

xmsok6ay41.gif

2 answers to this question

Recommended Posts

Posted

Cum faci sa se intoarca vehiculul ? Pui asta undeva:

[pawn]new Float:vAngle, vehicleid = GetPlayerVehicleID(playerid); //creem variabila care retine rotatia si id-ul vehiculului

GetVehicleZAngle(vehicleid, vAngle); //aici luam rotatia vehiculului, ca sa nu o dea complet in alta parte la pasul de mai jos

SetVehicleZAngle(vehicleid, vAngle+180); //180 pune masina invers

[/pawn]

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.