[FREE] EasyDrift - Drift counter + UI

Ok nice bro i will add it to my server, will plenty additional mode like Akina tour + a Drift handling mod !!
Thanks a lot for this release bro !

1 Like

Neat!

1 Like

Really nice for drift servers. Good release.

2 Likes

Hello… thanks for this great script.
I have a little problem, i’m trying to use this script with esx_xp.
i’m trying to give exp with drift point but i’m new coding and i’m stuck.
I created a file in EasyDrift\client\module\modules called exp.lua with this code:
Cattura
but when i log in game then this:


Please, how can i solve it?!?
Thanks in advance for any help and sorry for my bad english!!!

how to give money for the drift? and set up a money quantity per points?

2 Likes

Uh not sure what you were trying to do with your code, there is not much logic here ^^’

You should just use the event that is triggered at the end of a drift ( drift:finish )

AddEventHandler("drift:finish", function(score)
    exports.esx_xp:ESXP_Add(score)
end)

^ Check the syntaxe of the esx_rp line as i did not test this, but you should use this for sure. also be sure that this export is client side and not server side as my event are only triggered client side

1 Like

Ok, problem solved… Following discord guide now i can add money and experience… Thanks again for this great script!!!

P.s.: do you think its possible to add drifting ai?!?

1 Like

I doubt that

1 Like

Hey man, this looks sick! Is there anyway to toggle it on and off?

Are you able to share how you was able to add a leaderboard to work with this?

ty for quick reply!

hey sorry how would i add leader boards ? are you able to assist me with that ?

1 Like

Works in vrPEX?

Is there any way to make this counter toggle on and off with keybind, or command?

Hello, I was trying to make a reward for drifting, but getting always this error:

Code:

You are using server-sided functions in a shared file which is only used client-side

1 Like

could you add a player scoreboard?

did you fixed it?

how to connect it to this drift script?

How would i make this counter toggle?