spoty Posted July 25, 2014 Share Posted July 25, 2014 hello i found some drift score resources but they dont save the score's and i dont know how to make a databse for it so i am requesting a drift score resource with a database that save's the score's please it would be verry helpfull if someone could help me with find one Link to comment
50p Posted July 25, 2014 Share Posted July 25, 2014 My drift resource was built to be as flexible as possible, like most of my resources so that other people can create their resources and use custom events and/or exported functions. Have a look in the main drift file (c_drift.lua) and you will see. It's easy to make a resource to save the drift score. There are 4 custom events, onClientVehicleStartDrift (triggered when player starts to drift), onClientVehicleEndDrift (triggered when player ends the drift, 2 sec after stopped drifting), onClientVehicleDrift (triggered every frame when player is drifting), onClientVehicleDriftCombo (triggered every time player stops drift but gets back to drift within 2 sec). As you can see, you could create your own server-side event like onPlayerEndDrift, and trigger that event with player's score when player stops drifting and save their score. If you can't script then it may be difficult because you'll have to learn. Unless someone will make it for you. Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now