PhantomNL Posted July 3, 2013 Share Posted July 3, 2013 Hello people! I just started a MTA Free Roam Server, and I really need some people that are kind enough to make some resources/scripts for my server, I'm looking for experienced makers, so if you want to help me out, post your In-game name here, and post what scripts or resources you already made! I am looking for: - Turf System; An area where people get X amount of money and XP when standing in the area. - Car System; People can buy and sell cars at showrooms. - Gang System; So you can make your own gang, have a gang bank, invite people, kick people, buy a gang hideout, etc. - Bank System; So you can open a bank account and withdraw money etc. (with ATM's in the map, marked with a blip) - Car System; Vehicle locking with a button, toggle lights with a button, etc. - A level system; people rank up when being on a Turf, doing Deathmatches, Races, and maybe other things, feel free to post below! - A deathmatch/race system; So people can join Deathmatch and Races to level up - A Ammu-Nation script; People can go to an Ammu Nation where they can buy ammo, armor, etc. - A good Free Roam map, with Turfs, ATM's, Banks, Gang Hideouts available for buying, cars on parking places, a prison (I really like Alcatraz ) - And maybe a VIP System; VIP's can join whenever the server is full or empty, also they are allowed to buy more cars then normal players. Of course this doesn't have to be done all at once, just one-by-one, you can take your time. The ones that make the resources/scripts, will be rewarded VIP on my server. For the ones that don't have interest, and don't want to make scripts for me, please, do not post anything. Thanks! PhantomNL Link to comment
-.Paradox.- Posted July 8, 2013 Share Posted July 8, 2013 Aaa i guess you need those files =========================================================================================================== Alcatraz map : https://community.multitheftauto.com/index.php?p=resources&s=details&id=7312 =========================================================================================================== Car System : https://community.multitheftauto.com/index.php?p=resources&s=details&id=2604 =========================================================================================================== Gang System : https://community.multitheftauto.com/index.php?p=resources&s=details&id=1514 =========================================================================================================== Turf System : https://community.multitheftauto.com/index.php?p=resources&s=details&id=5606 =========================================================================================================== Ammunation Shop : https://community.multitheftauto.com/index.php?p=resources&s=details&id=4857 Powerful Weapons Shop : https://community.multitheftauto.com/index.php?p=resources&s=details&id=5347 =========================================================================================================== There isnt a level system for turfing etc i have one only for DM here is the lua server side : server.lua exports.scoreboard:scoreboardAddColumn("ExP") exports.scoreboard:scoreboardAddColumn("Level") local levels = {[50] = 1, [100] = 2, [175] = 3, [240] = 4, [950] = 5, [1200] = 6, [2000] = 7, [5000] = 8, [9963] = 9, [20000] = 10, [100000] = 11} function win(ammo, killer, weapon, bodypart) if (killer and killer ~= source) then local H = getElementData(killer, "ExP") local S = getElementData(killer, "Level") local killer1 = getPlayerName(killer) local noob = getPlayerName(source) setElementData(killer, "ExP", tonumber(H)+math.random ( 10, 80 ) ) if levels[tonumber(H)] then setElementData(killer, "Level", "Lvl ".. tostring(levels[tonumber(H)]) .." ") triggerClientEvent ( killer, "playSound", killer ) end end local H = getElementData ( source, "ExP" ) or 0 setElementData ( source, "ExP", tonumber ( H ) - math.random ( 5, 50 ) ) end addEventHandler( "onPlayerWasted", getRootElement(), win) function onLogin (_,account) setElementData(source, "Level", getAccountData(account, "lvl") or "0") setElementData(source, "ExP", getAccountData(account, "exp") or "0") end addEventHandler ("onPlayerLogin", root, onLogin) function saveData(thePlayer, theAccount) if (theAccount and not isGuestAccount(theAccount)) then setAccountData (theAccount, "lvl", getElementData(thePlayer, "Level")) setAccountData (theAccount, "exp", getElementData(thePlayer, "ExP")) end end addEventHandler ("onPlayerQuit", root, function () saveData(source, getPlayerAccount(source)) end) addEventHandler ("onPlayerLogout", root, function (prev) saveData(source, prev) end) client side : command_c.lua if u write /getrep player name you ll get how much he got in exp and level function getRep ( _, playerName ) if ( playerName ) then local thePlayer = getPlayerFromName ( playerName ) if ( thePlayer ) then local ExP = getElementData ( thePlayer, "ExP" ) or 0 local Level = getElementData(thePlayer,"Level") or 0 outputChatBox ( getPlayerName ( thePlayer ) .." Reputation is ".. tostring ( ExP ) .." ".. tostring ( Level ) .." " ,47,47,47) else outputChatBox ( "Couldn't find '" .. playerName .. "'", source ) end end end addCommandHandler ( "getrep", getRep ) finally meta.xml All done have fun ! Link to comment
Castillo Posted July 8, 2013 Share Posted July 8, 2013 That level system exports functions which the script doesn't has. Link to comment
PhantomNL Posted July 8, 2013 Author Share Posted July 8, 2013 Aaa i guess you need those files =========================================================================================================== Alcatraz map : https://community.multitheftauto.com/index.php?p=resources&s=details&id=7312 =========================================================================================================== Car System : https://community.multitheftauto.com/index.php?p=resources&s=details&id=2604 =========================================================================================================== Gang System : https://community.multitheftauto.com/index.php?p=resources&s=details&id=1514 =========================================================================================================== Turf System : https://community.multitheftauto.com/index.php?p=resources&s=details&id=5606 =========================================================================================================== Ammunation Shop : https://community.multitheftauto.com/index.php?p=resources&s=details&id=4857 Powerful Weapons Shop : https://community.multitheftauto.com/index.php?p=resources&s=details&id=5347 =========================================================================================================== There isnt a level system for turfing etc i have one only for DM here is the lua server side : server.lua exports.scoreboard:scoreboardAddColumn("ExP") exports.scoreboard:scoreboardAddColumn("Level") local levels = {[50] = 1, [100] = 2, [175] = 3, [240] = 4, [950] = 5, [1200] = 6, [2000] = 7, [5000] = 8, [9963] = 9, [20000] = 10, [100000] = 11} function win(ammo, killer, weapon, bodypart) if (killer and killer ~= source) then local H = getElementData(killer, "ExP") local S = getElementData(killer, "Level") local killer1 = getPlayerName(killer) local noob = getPlayerName(source) setElementData(killer, "ExP", tonumber(H)+math.random ( 10, 80 ) ) if levels[tonumber(H)] then setElementData(killer, "Level", "Lvl ".. tostring(levels[tonumber(H)]) .." ") triggerClientEvent ( killer, "playSound", killer ) end end local H = getElementData ( source, "ExP" ) or 0 setElementData ( source, "ExP", tonumber ( H ) - math.random ( 5, 50 ) ) end addEventHandler( "onPlayerWasted", getRootElement(), win) function onLogin (_,account) setElementData(source, "Level", getAccountData(account, "lvl") or "0") setElementData(source, "ExP", getAccountData(account, "exp") or "0") end addEventHandler ("onPlayerLogin", root, onLogin) function saveData(thePlayer, theAccount) if (theAccount and not isGuestAccount(theAccount)) then setAccountData (theAccount, "lvl", getElementData(thePlayer, "Level")) setAccountData (theAccount, "exp", getElementData(thePlayer, "ExP")) end end addEventHandler ("onPlayerQuit", root, function () saveData(source, getPlayerAccount(source)) end) addEventHandler ("onPlayerLogout", root, function (prev) saveData(source, prev) end) client side : command_c.lua if u write /getrep player name you ll get how much he got in exp and level function getRep ( _, playerName ) if ( playerName ) then local thePlayer = getPlayerFromName ( playerName ) if ( thePlayer ) then local ExP = getElementData ( thePlayer, "ExP" ) or 0 local Level = getElementData(thePlayer,"Level") or 0 outputChatBox ( getPlayerName ( thePlayer ) .." Reputation is ".. tostring ( ExP ) .." ".. tostring ( Level ) .." " ,47,47,47) else outputChatBox ( "Couldn't find '" .. playerName .. "'", source ) end end end addCommandHandler ( "getrep", getRep ) finally meta.xml All done have fun ! Well thanks dude, altough I already tried some of these scripts, I have Alcatraz in my map, and that turf system isn't really what I meant, I need a Turf system where you have an area where you can stand in and get money and XP per second.. (If another gang comes in the area of the turf you will not earn money anymore). I'm going to try the car system right now! And I now have a Gang System in my server, I think it's the same one as you listed above. But thanks man! For everyone: I still need some resources, so if you want to help me out, it would be awesome! The most important thing that I'd really want is the level system so you can level up by doing turfs, DM and Races, and only buy weapons and enter vehicles on a specific rank (example: Tank only on rank 60, max. level is 100). Thanks! Link to comment
Turky1 Posted July 8, 2013 Share Posted July 8, 2013 Are you even gonna make any script for your server or will you have all of them from other players? Link to comment
-.Paradox.- Posted July 8, 2013 Share Posted July 8, 2013 Turf system mmm i don't know i'll look for it. Link to comment
PhantomNL Posted July 9, 2013 Author Share Posted July 9, 2013 Are you even gonna make any script for your server or will you have all of them from other players? At first; you have any problems with that? The community website is for downloading and sharing scripts, so why do anything in your own when there are alot of things done already? Second: I am starting with downloading other scripts, configure them to my likings, and look how they work, so I learn it meanwhile, when I learned .lua I will propably make my own scripts. PhantomNL Link to comment
PhantomNL Posted July 9, 2013 Author Share Posted July 9, 2013 Turf system mmm i don't know i'll look for it. Thanks man I really appreciate it! I need some help with something else, I've downloaded a Ammu Nation Script, but the script has only 1 Ammu Nation (Los Santos) built in, so what I did, is create another one in Las Venturas, the blip and stuff are showed on the radar, (although the marker is a bit in the ground, I have no idea why) I can enter the Ammu Nation, and then I get spawned on an invisible block thing, I think it's on top of the Ammu Nation interior that I specified (Ammu Nation 4), 'cause I can see the marker, and if I walk above the marker, it teleports me to the Los Santos streets, right in front of the other Ammu Nation.. Here's the .lua: local Exitdoor = createMarker( 316.57907104492, -169.63523864746, 999.60101318359, "arrow", 1.5, 150, 0, 0, 255 ) setElementInterior( Exitdoor, 1, 285, -41, 1001 ) function Exitd( player ) if (source == Exitdoor) then if getElementType(player) == "player" then fadeCamera ( player, false, 1, 0, 0, 0 ) setTimer ( fadeCamera, 1000, 1, player, true, 1 ) setTimer ( setElementPosition, 1000, 1, player, 2156.4609375, 943.2607421875, 10.8203125 ) setTimer ( setElementInterior, 1000, 1, player, 0, 1367, -1279, 13 ) toggleControl ( player, "fire", true ) end end end addEventHandler ("onMarkerHit", getRootElement() ,Exitd ) local Doorentry = createMarker(2159.041015625, 943.25445556641, 10.8203125, "arrow", 1.5, 255, 0, 0, 255 ) function Doore( player ) if (source == Doorentry) then if getElementType(player) == "player" then fadeCamera ( player, false, 1, 0, 0, 0 ) setTimer ( fadeCamera, 1000, 1, player, true, 1 ) setTimer(setElementPosition, 1000, 1, player, 285, -40, 1001) setTimer ( setElementInterior, 1000, 4, player, 1, 317.2380, -168.0520, 999.5930 ) toggleControl ( player, "fire", false ) end end end addEventHandler ("onMarkerHit", getRootElement(), Doore ) addEventHandler ( "onResourceStart", getResourceRootElement(), function ( ) ped = createPed ( 73, 4026184082, -168.10594177246, 999.59375 ) setElementInterior( ped, 4, 317.2380, -168.0520, 999.5930 ) end ) 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