Young$ Posted March 4, 2012 Posted March 4, 2012 is there a comand for remove maps ingame? damn man visit this link ---->>>> http://gifura.orzhk.org/src/1332235315120.swf <<<<---- For some epic maps1!!!!!
TwiX! Posted March 4, 2012 Posted March 4, 2012 yes, but it's impossible for .zip format, only for folders - Working on [php/HTML/Mysql/Lua/Java Scripts/Web Design/3D Modeling]
Young$ Posted March 4, 2012 Author Posted March 4, 2012 ok what is the comand? damn man visit this link ---->>>> http://gifura.orzhk.org/src/1332235315120.swf <<<<---- For some epic maps1!!!!!
drk Posted March 4, 2012 Posted March 4, 2012 Server-side: addCommandHandler('deletemap', function(player,cmd,...) local map = table.concat(...,' ') local search = getResourceFromName(map) if search then deleteResource(search) outputChatBox("Map sucessfully deleted!",player,255,255,255,false) else outputChatBox("Map not found!",player,255,255,255,false) end end ) Add to meta.xml: <min_mta_version server="1.1.1-9.03316" /> Not tested. Command: /deletemap MapResourceName EPT Team Server Development: 0% Learning C++ | C++ is amazing
Kenix Posted March 4, 2012 Posted March 4, 2012 addCommandHandler( 'deletemap', function( uPlayer, _, ... ) local map = table.concat( { ... } ,' ' ) local search = getResourceFromName( map ) if search then deleteResource( search ) outputChatBox( 'Map sucessfully deleted!', uPlayer, 255, 255, 255, false ) else outputChatBox( 'Map not found!', uPlayer, 255, 255, 255, false ) end end ) Draken,Your code wrong, because 1 argument in function table.concat is table, but you use string. http://vk.com/the_kenix Вопросы задавайте на форуме, не пишите мне в личку. Please don't pm me.
BorderLine Posted March 4, 2012 Posted March 4, 2012 or you can use this https://community.multitheftauto.com/index.php?p= ... ils&id=861 1 Actual Nick: [XGN]BorderLine Actual Clan: XLatino Actual Status: Staff, Mod Level 1 (BOSS)Yakuza - [vS]Yakuza - [sXE]Yakuza - [uG]Yakuza - [FTLS]Racing - [XGN]Borderline
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