IIIIlllllIII
Members-
Posts
201 -
Joined
Everything posted by IIIIlllllIII
-
i want script anti helicopter kill and anti cars kill this my server basemode need a script for anti helicopter kill and anti cars kill some players kill with helicopter Fans and with Run over of the cars need a help i want script anti all thoese problems i want my server be the best pleeez help me give me the script for anti kill with helicopter and cars sorry if u dont understand me im arabic
-
hi i need i help in basemode the players type /car to spwan cars and tanks how i stop spawn cars in basemode
-
how i stop spawn cars in basemode some players type /car and the kill other players and take money from the kill how i stop spawn cars in basemode and thank you for this gamemode im new in scripter lua pleeeeez i want help how i stop spawn cars in basemode
-
yeah work but when i play and kill not working when i watch other player kill other player i hear the sound but i want hear a sound when i kill
-
i test and back
-
pleez i want u make a script because i past the script in notepad and i think the problem from notepad this the sound headshot.mp3 http://www.mediafire.com/?bwo0xdhe8ahka8x pleez make the script i want hear this sound when i kill players like this video for example https://www.youtube.com/watch?v=tcUlbohEw-Y pleez make the script and upload it on mediafire.com
-
yep i set on client
-
dont work when i copy ur script and past in notepad and i save it hs.lua and when i runing the script i hear nothing all is there meta.xml i set hs.lua and headshot.mp3 and nothing happend i hear nothing did i do something wrong or u give me a wrong code
-
THANK YOU i will test ur script but did that work with all weapons on kill
-
i make the script with all weapons see addEventHandler ("onClientPlayerDamage",getRootElement(), function (attacker,weapon,bodypart) if bodypart == 9 then if weapon == 24 or weapon == 31 or weapon == 34 or weapon == 16 or weapon == 25 or weapon == 30 or weapon == 38 or weapon == 29 or weapon == 32 or weapon == 27 or weapon == 22 or weapon == 39 or weapon == 33 or weapon == 28 or weapon == 0 then local sound = playSound ("headshot.mp3",false) end end end did i did someting wrong
-
hi i make this script but i dont know maybe work or no and i want this script when you kill the palyer u hear the sound headshot.mp3 on kill and i want this script with all weapons m4 mb5 and all weapons i want the sound work with all weapons the code addEventHandler ("onClientPlayerDamage",getRootElement(), function (attacker,weapon,bodypart) if bodypart == 9 then if weapon == 24 or weapon == 31 or weapon == 34 then local sound = playSound ("headshot.mp3",false) end end end did i do the true or there is something wrong pleez help me i want the sound work on all weapons i want hear the sound head shot when i kill a players.... need a help now
-
hi i want sound mod for basemode i mean when the palyer kill other player i hear the sound headshot on kill pleeez who want make the script to me i need this script who want help me this is the sound i want this sound on script http://www.mediafire.com/?zfib82p8kf6dia8 for example this viedo show u the sound on kill player https://www.youtube.com/watch?v=tcUlbohE ... re=related i want this script i dont have time to learn lua and sorry my for bad english
-
dont forget that add profile in acl.xml in admin groups btween resource.admin and resource.webadmin add resource.profile thank u work great
-
thanks u very mutch yes nobody want give me the code that sad and thank u agine for the help my shop will be here for all
-
i like ur mta version i mean the style can you give me ur mta version what u use mta 1.0.5 or what plz give me ur version i like the style and background
-
need some help in basemode sounds player headshot multikill
IIIIlllllIII posted a topic in Scripting
need a help plz i download the script sounds on resource mta sa the name of the script is utsounds.biz i know how to install scripts on my server and when i install utsounds.zip for sounds player like headshot multikill and other sounds when i running the utsounds and when i kill someone with sniper it says headshot and multikill all is ok on sniper but when i kill someone with m4 i cant hear anything only i hear the sounds with sniper i mean when i kill someone on sniper but on the m4 or other weapons i cant hear the sounds plz help me i want all sounds work without any problem i want hear sounds with all weapons i mean when the kill player and this is script lua utsounds_client.lua 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") else if waffe >= 22 and waffe <= 34 then local killerkills = getElementData(angreifer,"killnumber") if not special and stelle == 9 then playClientAudio("headshot.mp3") 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") elseif ammocount <= monsterB and accuracy >= monsterA then playClientAudio("monsterkill.mp3") elseif ammocount <= ultraB and accuracy >= ultraA then playClientAudio("ultrakill.mp3") 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,utvolume) 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("UT 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("utsounds",toggleSounds) addCommandHandler("utvolume",soundVolume) and utsounds_server.lua 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" triggerClientEvent(killer,"onSendSoundToClient",getRootElement(),sound) elseif killerkills == 4 then local sound = "killingspree.mp3" triggerClientEvent(killer,"onSendSoundToClient",getRootElement(),sound) elseif killerkills == 6 then local sound = "dominating.mp3" triggerClientEvent(killer,"onSendSoundToClient",getRootElement(),sound) elseif killerkills == 8 then local sound = "rampage.mp3" triggerClientEvent(killer,"onSendSoundToClient",getRootElement(),sound) elseif killerkills == 10 then local sound = "unstoppable.mp3" triggerClientEvent(killer,"onSendSoundToClient",getRootElement(),sound) elseif killerkills == 12 then local sound = "holyshit.mp3" triggerClientEvent(killer,"onSendSoundToClient",getRootElement(),sound) elseif killerkills == 14 then local sound = "wickedsick.mp3" triggerClientEvent(killer,"onSendSoundToClient",getRootElement(),sound) elseif killerkills == 16 then local sound = "godlike.mp3" 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) so what is my problem why i cant hear all sounds on all weapons why only i hear headshot on sniper plz healp me and if anyone have scripts sounds working plz give it to me. -
طيب حط رابط تحميل النسخه
-
helloo guys i have problem with adding new skins in basemode i want add a dff file in my new skin i only add a txd to orginal skin txd like skin 46.txd i cant add a dff file like 46.dff why i can't add a dff file??? like hmyri.dff i wanna add this skin in id 46 this my skin i wanna add this skin in mta http://www.mediafire.com/?dnd204a33b4ienr plz help me
-
hi all when i play MTA SA 1.0.4 i Play for 30 minutes and my screen gonna be frozen but when i change MTA SA to 1.0.3 i Play it long i pay Two hours and my screen gonna be frozen what is the problem in MTA SA why MTA 1.0.3 be long time and why my MTA gonna be frozen i hope you understand me and help me plz...
-
hi i have server basemode and i want mods for basemode like mode money and mode welcome log and and anti flood mode for chat i want all modes for BaseMode help me pleeeeeeeeeeeeeeeeeeeeeeeeeeeeeez may be my english is weak but it is fine ??
-
ok i want buy the host how i send you money but i have server on my pc < im from saudi arabia
-
i did i stoped Basemode and i start mapmanager and it is running good and when i start Basemode , the mapmanager come back to loaded?
-
see the server failed ?
-
see i Press start and nothing happend it is freezing on loaded i don't know it is freeing i Press and it is freezing on loaded
