LilBuddyy Posted January 6, 2017 Posted January 6, 2017 I want to disabled certain explosive weapons and vehicles. I joined a server today that had the /veh hydra and /veh rhino disabled and was wondering how I could do the same
nullptr Posted January 6, 2017 Posted January 6, 2017 Hi @LilBuddyy, you have to change the keker package.
Dominik48 Posted March 28, 2017 Posted March 28, 2017 В 06.01.2017 в 22:19, LilBuddyy сказал: I want to disabled certain explosive weapons and vehicles. I joined a server today that had the /veh hydra and /veh rhino disabled and was wondering how I could do the same For example module.exports = { "veh": (player, args) => { var pos = player.position; pos.x += 2.0; if(player.veh) player.veh.destroy(); if(args[1] == "hydra") { // If player use /veh hydra player.outputChatBox("<b>Hydra - vehicle for admins!!!!</b>"); // Send him message } else { player.veh = mp.vehicles.new(mp.joaat(args[1]), pos); player.veh.dimension = player.dimension; } } }; Also do with weapons or with skins..
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