[Release] Drift Counter

how can i change postion please ?

how can we change the position of the counter to not be at the top mid. i cant find it.

i am also having this issue do you find the solution?

hello this didnt not help me it came up with an error as such driftcounter_s.lua:17: unexpected symbol near ‘<\226>’ any idea what this maybe?

that sounds like a typo or something, be careful when copying and pasting as it may not work (i.e. incorrect spacing or symbols). To be sure post that line of code specified or maybe the entire block incase needed

Anyway to add a multiplier so when the player gets to a certain score it will multiply from that point forward?

2 Likes

someone that have a working esx version?

Hey everyone i was able to figure out some esx compatibility and added dirty money payout
First you add these two lines to the top of server lua
image
then inside of the payDrift function add “local xPlayer = ESX.GetPlayerFromId(source)”
and “xPlayer.addAccountMoney(‘black_money’, money)” like so
image
and that should be it, hope this helps! :upside_down_face:

Edit: Almost forgot, make sure too add ‘es_extended’ as a dependency in the _resource/fxmanifest.lua
image

Hey man, I have tried this and still wont add money?

pudiste conseguirlo??

still not working for me … system didnt give player the money

Nice Script ,but the Scripter dos not help…

where can I change the locations of the points

Hi, there is an unsecured TriggerServerEvent (“driftcounter: payDrift”, cash), does anyone have anything safer for this event?

In the script is there a on and off, like when they get to the underground drift meet, they can talk to a ped and the counter starts?

Dont work for me

how can i change position so its not top middle…?