-
Posts
767 -
Joined
-
Last visited
Everything posted by Xierra
-
Hi guys! I got 3 mods which is good, multiplayer compatible, and nice for you guys. CJ clothes: 2 G-Unit Tank tops This is a nice mod made for gta-worldmods.de. It's a mod which replaces the most usual CJ's clothes, White and Black Tank Tops. Well, this is used when you get bored of the plain black and white tank tops. And to make sure this is only for your client. Screenshot: You want it? Get it here: G-Unit Tank Top (Black and White) To install: Just open any IMG editor and open models\player.img and replace it, then rebuild the file. (only 5 seconds to rebuild) A dat. file: realistic timecyc.dat replacement. Credits to Lil'Q Hey, wondering you wanted the sky to be realistic? Then this is what you're finding for! And before you ask, this only affects in one user and doesn't affect the server by any means possible. So it's legal for this multiplayer mod too! So no worries. Also, the weather here also variates according to weather! So there could be difference between sunny weathers and midnight weathers. You better make a backup of the timecyc.dat and timecycp.dat before you put it there. Download link: Timecyc 1.2 Screens (with ENB and San Andreas Retextured and also not my pic ): To use it just replace the two dat. files in GTA SA\data. Note: It will not be much different if you don't use ENB Series. Important: If you have ENB Series and Using this mod, don't set the [bLOOM]parameter too high or the sky will become completely white! Texture: Realistic Clouds Replacement Credits to Lil'Q This is the texture modification. Yes, clouds. It will look like a real cloud if you replace it. You will also get better fps with this. Simple! Just download TXD editor, and follow these ways (save the pictures in .png format): A) Open "particle.txd" located in GTASA\models with TXD Editor. Locate a texture called "cloudmasked" and import one of the "cloud" textures which you can see below over the "cloudmasked". These 2 are the best to choose from: Just to notice that the textures ingame will not be the same as this pic. OR B) Now find a texture called "cloud1". Import the texture below over the "cloud1". Save TXD. Just to notice that the textures ingame will not be the same as this pic. You're Done! Also, This mod is compatible with timecyc too. The screenshots are in the Timecyc mod (just look at the clouds) Enjoy the mods! These are very nice mods so take it! Comment if you like it or you got questions.
-
BaseMode blocks people from using weapons and punching if you're inside Main Lobby or Character Selection. You better stop / restart the resource in the middle of the base/arena. And also, you'll need more than one people or bugs can happen if you forcefully start an arena or base, So if you suffer this, you'll need to restart your server. Anyway you posted in the wrong section. Go to "scripting". Beta #2 is out! Take it, it would be better and it's ok if you use mapmanager.
-
Well, according to your opinion, all of these should be made by scripting. First, you make 5 huge colshapes, each around LS, SF, LV, Bone Country and Red Country. Then you make a spawn player inside each col. But I have no idea how to do it. Tips: I know what he means, it's like in the original GTA SA, when you die in LS, you'll respawn in LS hospital, and when you die in SF, you'll respawn in SF hospital, etc. Edit: Ow, there's a way like that? I don't know that's possible!
-
Hah, that should be an argument not variable!
-
Before I end this topic, the syntax ( player, title, description, color ) In cs_sounds, It doesn't have "player" inside the function, but the script have argument "killer" Will it ok if I write something like: (killer, "AA", "+1000", {200,200,200}) I'm not sure yet because Nobody is gonna test it for me. A little tip: I am trying to make use of xpeffects script, that's why I edit cs_sounds script.
-
Yes you can. And they were sorted inside ShowPlayerHudComponent. Example (server-side): function hudChanger () --The function. showPlayerHudComponent ( source, "area_name", false ) -- Hide the zone names display for the every player who joins. end -- Make our hudChanger function called when the player joins addEventHandler ( "onPlayerJoin", getRootElement(), hudChanger ) Good luck!
-
At last it's working! Thanks Hankey.
-
I already activated the resource. but still not working ;( uhh, I guess this is xpeffect's fault: WARNING: xp_server.lua: Bad argument @ 'triggerClientEvent' - Line: 2
-
Yeah. Now it "Nearly" works. It says: ERROR: call: failed to call 'xpeffects:addXPEffect' What should I do? (Hey and thanks mr.hankey, i'm practicing you know) This is used for my edit of the cs_sounds resource.
-
Hi guys I have a problem. When I create an xpeffects function (addXpEffect), and I want to make it work on another resource. It's a client-side script. But how can I do it? Should I export functions? If yes, How? Because I got an error "ERROR:.../deathmatch/resources/test/aaa.lua:2:Trying to call global "addXpEffect" (a nil value)" The script (aaa.lua): function xpea() string = addXpEffect("AA", "+1000", {r=100, g=0, b=0}) --the xpeffects function. if (string) then outputChatBox("It's working!") else outputChatBox("no it's not working") end end addCommandHandler ( "xp", xpea) Meta.xml: <meta> <script src="aaa.lua" /> meta> Can you guys learn me the easy way of exporting functions from another resource?
-
What gamemodes do you find suitable for clanwars?
Xierra replied to darkdreamingdan's topic in Gangs
I choose Stealth! And also, Basemode, as the other. These two are the most suitable ones. @Robhol: There's a newer version of basemode already, but not on the community, but on the resources page. -
Wow! Since I started playing MTA: Race, I don't really think that there are lots of players! But, I saw the keen eyes of the future, that MTA: SA will have the best, number 1 online mod ever! And it's true now. Good luck on improving this and I'll be happy. And to make sure, MTA has way more powerful scripts, including the Clientside GUI, the ability to make the impossible, possible. Like for example: object making scripts like to make missles on a vehicle, Custom Objects, 3D sound script, and even Videos!! It's your opportunity to make your name, so go for it! We're counting on you!
-
As Wallmart said, interiors definition was used for making warp points to go in/out of the interior. You can look here for tutorial and scripting way: https://wiki.multitheftauto.com/wiki/RU/ ... :Interiors. Hey, where's the example of interiors resource anyway?
-
One suggestion: Make sure you use the exact username (no hex colour) Or maybe look at the capital letters. Hope it works.
-
Well, you can only start 1 gamemode at a time. The way to do it is simple, Example: /stop play, then /start race
-
New update! Now I finished my arena_68. Screenies: http://www.community.multitheftauto.com/index.ht ... iew&id=624 And also fixed the spawn area of team 1 in Base_101.
-
Fantastic! Thanks Rhbk, You made me wanted to make more and more maps! #1 DM gamemode! But, can you tell me how to edit the skins which I can choose from?
-
but you can use delux converter: http://gtamap.delux-host.com/converter/ That's the only way right now. Umm, what are the biggest problems which you face?
-
Possible! But you must make this server online first. And just start editor. You can make maps together. But you must be an admin first, or start editor via MTA Server.exe
-
Ok, I guess you added more maps eh? New Update! Base_101 is out! Screenshots: http://www.community.multitheftauto.com/index.ht ... iew&id=618 @Rhbk: Sure, I'll edit my base_13 and put it as base_100 if I could.
-
Hi guys! I have a little question (Maybe a stupid question and idk where to put this topic), what should I do to make my server online to public? I really need help for this one and I'm using Linksys Router.
-
heh, I just use it for more challenge! But ok, I'll remove it. umm, is the pickups support BM? Anyway, anybody wants to share BaseMode maps? I can put it here if someone can put it.
-
Oh! So the [table color = {255, 255, 255} ] is wrong isn't it? Why don't he write: "{255, 255, 255}"? Yeah, but still, I'm a total noob, just started a scripting adventure and i'm still level 1! Anyway, I can't try it without someone else. Is there somebody good enough to make a server then I join? E-Mail: [email protected]
-
Before I close this topic, I'm trying to edit utsounds. It's using xpeffects Here's the edit: utsounds_server: local headshot = get("utsounds.EnableHeadshot") local sniper = get("utsounds.EnableSniper1Hit") local client = get("utsounds.AllowClientTurnOff") local special = get("utsounds.EnableSpecialKills") local ludicrousA = tonumber(get("utsounds.LudicrousAccuracy")) local monsterA = tonumber(get("utsounds.MonsterAccuracy")) local ultraA = tonumber(get("utsounds.UltraAccuracy")) local killreset = get("utsounds.ResetOnKill") local spawnreset = get("utsounds.ResetOnSpawn") local ludicrousB = tonumber(get("utsounds.LudicrousBullets")) local monsterB = tonumber(get("utsounds.MonsterBullets")) local ultraB = tonumber(get("utsounds.UltraBullets")) if headshot == "true" then headshot = true else headshot = false end if sniper == "true" then sniper = true else sniper = false end if client == "true" then client = true else client = false end if special == "true" then special = true else special = false end if killreset == "true" then killreset = true else killreset = false end if spawnreset == "true" then spawnreset = true else spawnreset = false end function resetAll() local players = getElementsByType("player") for i,player in ipairs (players) do setElementData(player,"killnumber",0) setElementData(player,"allbullets",0) setElementData(player,"allhits",0) setElementData(player,"accuracy",0) end end function resetStat(player,stat) setElementData(player,stat,0) end function checkBoth(angreifer,waffe,stelle) if headshot and stelle == 9 and waffe >= 22 then killPed(source,angreifer,waffe,stelle) elseif sniper and (stelle == 3 or stelle == 4 or stelle == 9) and waffe == 34 then killPed(source,angreifer,waffe,stelle) end end function headshotKillmessage(killer,waffe,stelle) if stelle == 9 then cancelEvent() local sourceTeam,killerTeam = getPlayerTeam(source),getPlayerTeam(killer) local rK,gK,bK = getPlayerNametagColor(killer) local rS,gS,bS = getPlayerNametagColor(source) exports.killmessages:outputMessage( {getPlayerName(killer),{"padding",width=3},{"icon",id=waffe},{"padding",width=3}, {"icon",id=256},{"padding",width=3},{"color",r=rS,g=gS,b=bS},getPlayerName(source)}, getRootElement(),rK,gK,bK) end end function checkKills(ammo,killer,weapon) if killer then if killer ~= source then local killerkills = getElementData(killer,"killnumber") if (not getPlayerTeam(source) or not getPlayerTeam(killer)) or getPlayerTeam(source) ~= getPlayerTeam(killer) then if killerkills == false then killerkills = 0 elseif killerkills == 2 then local sound = "multikill.mp3" addXPEffect ( "Multi Kill!", "2 Kills in a row", [ table color = { 255, 255, 255 } ] ) clearAll () triggerClientEvent(killer,"onSendSoundToClient",getRootElement(),sound) elseif killerkills == 3 then local sound = "triplekill.mp3" addXPEffect ( "Triple Kill!", "3 Kills in a row!", [ table color = { 255, 255, 255 } ] ) clearAll () triggerClientEvent(killer,"onSendSoundToClient",getRootElement(),sound) elseif killerkills == 4 then local sound = "killingspree.mp3" addXPEffect ( "Killing Spree!", "4 Kills in a row!", [ table color = { 0, 200, 0 } ] ) clearAll () triggerClientEvent(killer,"onSendSoundToClient",getRootElement(),sound) elseif killerkills == 6 then local sound = "dominating.mp3" addXPEffect ( "Dominating!", "6 Kills in a row!", [ table color = { 255, 255, 25 } ] ) clearAll () triggerClientEvent(killer,"onSendSoundToClient",getRootElement(),sound) elseif killerkills == 8 then local sound = "rampage.mp3" addXPEffect ( "Rampage!!", "8 Kills in a row!", [ table color = { 255, 0, 0 } ] ) clearAll () triggerClientEvent(killer,"onSendSoundToClient",getRootElement(),sound) elseif killerkills == 10 then local sound = "unstoppable.mp3" addXPEffect ( "Unstoppable!!", "10 Kills in a row!!", [ table color = { 0, 0, 150 } ] ) clearAll () triggerClientEvent(killer,"onSendSoundToClient",getRootElement(),sound) elseif killerkills == 12 then local sound = "holyshit.mp3" addXPEffect ( "Holy Sh*T!!", "You've got to be kidding me!? 12 Kills in a row!", [ table color = { 255, 0, 0 } ] ) clearAll () triggerClientEvent(killer,"onSendSoundToClient",getRootElement(),sound) elseif killerkills == 14 then local sound = "wickedsick.mp3" addXPEffect ( "Wicked Sick!!!", "I'm sick... 14 kills in a row!?", [ table color = { 0, 255, 0 } ] ) clearAll () triggerClientEvent(killer,"onSendSoundToClient",getRootElement(),sound) elseif killerkills == 16 then local sound = "godlike.mp3" addXPEffect ( "GOD Like!!!!", "You're a Pro! 16 Kills in a row!", [ table color = { 255, 0, 0 } ] ) clearAll () triggerClientEvent(killer,"onSendSoundToClient",getRootElement(),sound) end killerkills = killerkills + 1 setElementData(killer,"killnumber",killerkills) end end end end function returnTheSettings() local settings = { client, special, ludicrousA, monsterA, ultraA, killreset, spawnreset, ludicrousB, monsterB, ultraB } triggerClientEvent(source,"onSettingsReturn",getRootElement(),settings) end addEvent("onAskForServerSettings",true) addEventHandler("onResourceStart",getResourceRootElement(getThisResource()),resetAll) addEventHandler("onPlayerDamage",getRootElement(),checkBoth) addEventHandler("onPlayerKillMessage",getRootElement(),headshotKillmessage) addEventHandler("onPlayerWasted",getRootElement(),checkKills) addEventHandler("onAskForServerSettings",getRootElement(),returnTheSettings) And the utsounds_client setElementData(getLocalPlayer(),"utToggle",true) local utvolume = 1 function killCheck(angreifer,waffe,stelle) if angreifer then if angreifer ~= source then local sourceteam,angreiferteam = getPlayerTeam(source),getPlayerTeam(angreifer) if angreifer == getLocalPlayer() then if sourceteam and angreiferteam and sourceteam == angreiferteam then playClientAudio("teamkiller.mp3") addXPEffect ( "Team Killer!", "Stop that! They're your friends!", [ table color = { 255, 255, 255 } ] ) clearAll () else if waffe >= 22 and waffe <= 34 then local killerkills = getElementData(angreifer,"killnumber") if not special and stelle == 9 then playClientAudio("headshot.mp3") addXPEffect ( "Headshot!", "Nice Shot!", [ table color = { 255, 0, 0 } ] ) clearAll () elseif not killerkills or killerkills % 2 == 1 or killerkills <= 1 or killerkills >= 18 then local ammocount = getElementData(source,"ammocount"..tostring(angreifer)) local accuracy = getElementData(angreifer,"accuracy") if ammocount and accuracy then if ammocount <= ludicrousB and accuracy >= ludicrousA then playClientAudio("ludicrouskill.mp3") addXPEffect ( "Ludicrous Kill!!", "hmm, impressive", [ table color = { 255, 0, 0 } ] ) clearAll () elseif ammocount <= monsterB and accuracy >= monsterA then playClientAudio("monsterkill.mp3") addXPEffect ( "Monster Kill!!", "Crazy! \"{SMILIES_PATH}/icon_wink.gif\" alt=\"\" title=\"Wink\" />", [ table color = { 255, 0, 0 } ] ) clearAll () elseif ammocount <= ultraB and accuracy >= ultraA then playClientAudio("ultrakill.mp3") addXPEffect ( "Ultra Kill!!", "Skillfull!", [ table color = { 255, 0, 0} ] ) clearAll () elseif stelle == 9 then playClientAudio("headshot.mp3") end end end end end elseif source == getLocalPlayer() and stelle == 9 and waffe >= 22 and waffe <= 34 then if not sourceteam or not angreiferteam or sourceteam ~= angreiferteam then --playClientAudio("blamiert.mp3") end end end setTimer(resetStat,50,1,source,"ammocount"..tostring(angreifer)) if killreset then setTimer(resetStat,50,1,angreifer,"allhits") setTimer(resetStat,50,1,angreifer,"allbullets") end end resetStat(source,"killnumber") if spawnreset then setTimer(resetStat,50,1,angreifer,"allhits") setTimer(resetStat,50,1,angreifer,"allbullets") end end function bulletCounting(waffe,ammo,magazinammo,,yd,zd,element) local allbullets = getElementData(source,"allbullets") if waffe >= 22 and waffe <= 34 then if not allbullets then allbullets = 1 else allbullets = allbullets + 1 end end local allhits = getElementData(source,"allhits") if not allhits then allhits = 0 end if element then if waffe >= 22 and waffe <= 34 then if getElementType(element) == "vehicle" or getElementType(element) == "ped" then allhits = allhits + 1 elseif getElementType(element) == "player" then allhits = allhits + 1 local bullets = getElementData(element,"ammocount"..tostring(source)) if not bullets or bullets == 0 then setElementData(element,"ammocount"..tostring(source),1,false) else bullets = bullets + 1 setElementData(element,"ammocount"..tostring(source),bullets,false) end end end end if not allhits or allhits == 0 then setElementData(source,"accuracy",0) else setElementData(source,"accuracy",allhits / allbullets,true) end setElementData(source,"allbullets",allbullets) setElementData(source,"allhits",allhits) end function playClientAudio(sound) if getElementData(getLocalPlayer(),"utToggle") then local sound = playSound("sounds/"..sound, false) setSoundVolume(sound,csvolume) end end function resetStat(player,stat) setElementData(player,stat,0,true) end function toggleSounds() if client then local state = getElementData(getLocalPlayer(),"utToggle") if state == true then state = "#00FF00On" else state = "#FF0000Off" end outputChatBox("CS kill sounds are now: "..state,255,255,255,true) setElementData(getLocalPlayer(),"utToggle",not getElementData(getLocalPlayer(),"utToggle")) else outputChatBox("It's not allowed to toggle the sounds on this server.") end end function soundVolume(command,volume) if client then volume = tonumber(volume) if volume >= 1 then volume = 1 end if volume <= 0 then volume = 0 end utvolume = volume else outputChatBox("Setting the sound volume is not allowed on this server.") end end function getServerSettings() triggerServerEvent("onAskForServerSettings",getLocalPlayer()) end function saveSettings(settings) client = settings[1] special = settings[2] ludicrousA = settings[3] monsterA = settings[4] ultraA = settings[5] killreset = settings[6] spawnreset = settings[7] ludicrousB = settings[8] monsterB = settings[9] ultraB = settings[10] end addEvent("onSendSoundToClient",true) addEvent("onSettingsReturn",true) addEventHandler("onClientPlayerWasted",getRootElement(),killCheck) addEventHandler("onClientPlayerWeaponFire",getLocalPlayer(),bulletCounting) addEventHandler("onSendSoundToClient",getRootElement(),playClientAudio) addEventHandler("onClientResourceStart",getResourceRootElement(getThisResource()),getServerSettings) addEventHandler("onSettingsReturn",getRootElement(),saveSettings) addCommandHandler("cssounds",toggleSounds) addCommandHandler("csvolume",soundVolume) Any ideas? It said to me that there is unexpected symbol near "[" in utsounds_server, line 65. Can you tell me what's the problem?
-
Hmm, I think you were thinking to follow like in DDC server, Right? It will not be a very simple script! You must learn scripting at first, you can't just tell someone to make it for you. It will not be easy unless you have known about scripting, understand? And no, nobody will gonna make a script for anyone.
