Sign in to follow this  

Surf in Car

Recommended Posts

Hello Guys,

  • Welcome again to another tutorial.
  • Very simple, when you climb on top of the vehicle it activates and does not let you fall.


Client-side:'render', gameplay);
function gameplay() {
	const player = mp.players.local;
	if(player.isHangingOnToVehicle()){//do not fall off the vehicle

good day to you

PS:google traduction

  • Like 1
  • Confused 2

Share this post

Link to post
Share on other sites

Why do you use "player.isRagdoll()"? That makes no sense.
And are you sure you need setRagdollFlag on every frame? Seems like you would only need to use it once.

Share this post

Link to post
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.

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.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.