Jump to content

[Tutorial] Seatbelts


Recommended Posts

1 minute ago, MrVoLRoDFr said:

I can but I think when the seat belt is on, the song keep playing, I am afraid of that, I don't found a function to kill the sound then the seat belt is on

I want to found a code like, if the seat belt is off and the engine of the car is started, the sound ring until the seat belt is on, when the seat belt is on, the sound stop and again when the player put off the seat belt (like a actual car) 

I hope you understand me, I am French and I am a little bad in English haha 😂 

I understand what you want. You could just try a longer sound and see how it works. 

Link to post
Share on other sites
  • Replies 179
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

SEATBELTS handledamage: by Snipes mad dialog, eventHandlers, addaction, etc: by Repentz     This script allows you to put on/take off your seatbelt when inside a vehicle, I ha

why wouldn't it?

that goes in the hud_stats.hpp under this class Life_RscText_HUDWater: Life_RscText_HUDCommon {         idc = 1202;         text = "$STR_HUD_Water";         x = 0.534723 * safezoneW + safez

17 hours ago, one said:

I understand what you want. You could just try a longer sound and see how it works. 

I try to make longer and it's works but after i put the seatbelt on, the sound playing still and if i detach the seatbelt and reattach the seatbelt, the sound playing twice and keep playing after i left the vehicle

Link to post
Share on other sites
  • 4 weeks later...
  • 7 months later...

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

By using this site, you agree to our Terms of Use.