AGENT_STEELMEAT Posted January 9, 2011 Share Posted January 9, 2011 (edited) This easy to use resource will allow you to create a Safe Zone fairly easily, and provide a HUD used to let people know that they are in the Safe Zone. It also makes use of the helpmanager resource, there is a help.xml file with info for users included. Features: -Displays a message whenever someone is in a safezone. -Prevents firing of weapons within a safezone. -Anyone in a safezone is completely invincible. -Vehicles are damageproof (minus the tires) -FIXED IN v4! -You can add more than one safezone, without using multiple copies of the resource. -NEW IN v4! Coming soon: -I need suggestions! Known issues: -If a user glues to a vehicle (with the glue resource) , he/she can fire with the TAB key. Setup Instructions: -Move folder to your server/mods/deathmatch/resources directory. -Modify safezone_server.lua to add safezones (other than the defualt provided). -Start the resource. ("start safezones" in the console) The latest version will be at: https://community.multitheftauto.com/index.php?p= ... ls&id=1568 Any feedback is welcome. Edited February 26, 2011 by Guest Link to comment
12p Posted January 9, 2011 Share Posted January 9, 2011 I think is a plagio from JesseUnit's Safe Zone. Link to comment
AGENT_STEELMEAT Posted February 4, 2011 Author Share Posted February 4, 2011 Version 3 is released, it adds support for preventing vehicle damage. Link to comment
12p Posted February 5, 2011 Share Posted February 5, 2011 Tires can't be invincible, as I know. Link to comment
AGENT_STEELMEAT Posted February 10, 2011 Author Share Posted February 10, 2011 There are setVehicleWheelStates and getVehicleWheelStates available serverside. Link to comment
AGENT_STEELMEAT Posted February 11, 2011 Author Share Posted February 11, 2011 Wouldn't it work if when "onVehicleDamage" I triggered an event that got the status of the tires, and if they were not inflated, inflate them? Link to comment
12p Posted February 11, 2011 Share Posted February 11, 2011 No. onVehicleDamage is triggered when fixVehicle function is used, nothing else. It is showed on MTA Bugtracker. Link to comment
AGENT_STEELMEAT Posted February 26, 2011 Author Share Posted February 26, 2011 v4 of this resource adds the important feature of adding multiple safezones. Simply edit the table in the server-side script with the syntax provided in the file. Also, I've fixed the vehicle damage prevention code (stupid mistake). Special thanks goes out to all the people on #mta.scripting and the MTA scripting forums for all the help. Link to comment
Wojak Posted February 27, 2011 Share Posted February 27, 2011 why not add a mapeditor suport? it is pasiple, and will be user friendly... http://img219.imageshack.us/img219/6213 ... 202038.jpg Link to comment
AGENT_STEELMEAT Posted February 28, 2011 Author Share Posted February 28, 2011 Excellent idea, but sounds a bit complicated. I'll give it a shot. 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