Jump to content

Need a drift script


Guest sandro112

Recommended Posts

Posted

hey i make some drift maps in my server but now i wanna have a script for points can someone help me???

Posted

You can check the player's speed and direction they're traveling in per frame (onClientRender) and compare it with rotation (Z). Scores could be awarded based on the difference between traveling directon and vehicle rotation (possibly also turn velocity), also taking into account the total "speed" of the vehicle.

Do NOT PM ME for help unless invited. - New MTA Script Editor

Scripting help "etiquette": understandable language, relevant code (ALL code if unsure), [Lua] tags, error messages with line numbers. Super simple stuff.

Posted

I was trying to subtly indicate that if you want this and you can't find it published anywhere, chances are very, VERY slim someone's going to to make it for you, so you'll have to do it yourself.

http://robhol.net/guide/basics - a bit of help on the way.

Do NOT PM ME for help unless invited. - New MTA Script Editor

Scripting help "etiquette": understandable language, relevant code (ALL code if unsure), [Lua] tags, error messages with line numbers. Super simple stuff.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...