GameZoneX Posted March 10, 2011 Share Posted March 10, 2011 Hello, Can anyone tell me how to restrict some weapons or verhicles. Thanks. Link to comment
InDev Posted March 10, 2011 Share Posted March 10, 2011 You need to script it: for example creating a resource... You can learn scripting basics here https://wiki.multitheftauto.com/wiki/Scr ... troduction Link to comment
GameZoneX Posted March 11, 2011 Author Share Posted March 11, 2011 is there no already made resource for it? Link to comment
Castillo Posted March 11, 2011 Share Posted March 11, 2011 There isn't, also this is really easy to make, but i won't do it because i want you to learn it by yourself Link to comment
GameZoneX Posted March 11, 2011 Author Share Posted March 11, 2011 I will try And to restrict spawning verhicles at the spawnpoint? Link to comment
Castillo Posted March 11, 2011 Share Posted March 11, 2011 It's the same, also we don't even know of what gamemode we talking about. Link to comment
Moderators Citizen Posted March 12, 2011 Moderators Share Posted March 12, 2011 Maybe it's freeroam ? Link to comment
Moderators Citizen Posted March 12, 2011 Moderators Share Posted March 12, 2011 Ok so go in your freeroam resource for weapons, you have to open weapons.xml and delete the lines of the weapons which you want to delete, save the xml and restart the server. for vehicles, you have to open vehicles.xml and delete the lines of the vehicles which you want to delete, save the xml and restart the server. Exemple: I want to restricted the minigun, so I open the weapons.xml and I looking for the minigun and I find this: <group name="Heavy weapons"> <weapon id="37" name="Flame thrower" /> <weapon id="36" name="Heat seeking RPG" /> <weapon id="38" name="Minigun" /> <weapon id="35" name="Rocket launcher" /> </group> So I delete the line of the minigun like this: <group name="Heavy weapons"> <weapon id="37" name="Flame thrower" /> <weapon id="36" name="Heat seeking RPG" /> <weapon id="35" name="Rocket launcher" /> </group> Enjoy ! 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