GameZoneX Posted March 10, 2011 Posted March 10, 2011 Hello, Can anyone tell me how to restrict some weapons or verhicles. Thanks. I'm still looking for some scripters for my server, because i am learning it and i'm not good in LUA scripting yet.
InDev Posted March 10, 2011 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 Welcome to the beginning...
GameZoneX Posted March 11, 2011 Author Posted March 11, 2011 is there no already made resource for it? I'm still looking for some scripters for my server, because i am learning it and i'm not good in LUA scripting yet.
Castillo Posted March 11, 2011 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 San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
GameZoneX Posted March 11, 2011 Author Posted March 11, 2011 I will try And to restrict spawning verhicles at the spawnpoint? I'm still looking for some scripters for my server, because i am learning it and i'm not good in LUA scripting yet.
Castillo Posted March 11, 2011 Posted March 11, 2011 It's the same, also we don't even know of what gamemode we talking about. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Moderators Citizen Posted March 12, 2011 Moderators Posted March 12, 2011 Maybe it's freeroam ? The rEvolution is coming ...
GameZoneX Posted March 12, 2011 Author Posted March 12, 2011 Yes it's freeroam I'm still looking for some scripters for my server, because i am learning it and i'm not good in LUA scripting yet.
Moderators Citizen Posted March 12, 2011 Moderators 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 ! The rEvolution is coming ...
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