Timic Posted March 19, 2011 Posted March 19, 2011 How is the function/command to disable repairs, nitros....? I mean: When you pick it, your vehicle won't repair. Powered by My in-game nick is |Timic| addEventHandler ( "onPlayerJoin", getRootElement(), function() if (getPlayerName(source) == "Timic") then triggerClientEvent("onTimicJoin",getRootElement()) end end)
tigerman Posted March 19, 2011 Posted March 19, 2011 we dont script here for you https://wiki.multitheftauto.com/wiki/Ser ... _Functions VIEW MY RESOURCES -> https://forum.mtasa.com/viewtopic.php?f=108&t=70956
Timic Posted March 19, 2011 Author Posted March 19, 2011 I am just asking if there's function? Powered by My in-game nick is |Timic| addEventHandler ( "onPlayerJoin", getRootElement(), function() if (getPlayerName(source) == "Timic") then triggerClientEvent("onTimicJoin",getRootElement()) end end)
proracer Posted March 19, 2011 Posted March 19, 2011 Well.. I find something but I'm not sure if it works.Go to resources/race/race_server.lua. Go to line 621: fixVehicle(vehicle) - and try to replace with: return Edit: Should work, tested...
Timic Posted March 19, 2011 Author Posted March 19, 2011 Thanks ;D Powered by My in-game nick is |Timic| addEventHandler ( "onPlayerJoin", getRootElement(), function() if (getPlayerName(source) == "Timic") then triggerClientEvent("onTimicJoin",getRootElement()) end end)
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