meh
Members-
Posts
125 -
Joined
-
Last visited
Everything posted by meh
-
hi there. today i'm having some hard times with this reasource: https://community.multitheftauto.com/index.php?p= ... ls&id=3207 don't get me wrong, it works, and works nice, but the problem is that players's blips or icons or whatever don't disappear from the radar after a player dies. and this is kind of a bummer in my opinon. i've contacted the author of this script already, but he didn't respond, so i guess he's not really interested in improving his own resource. so, guys your my only hope. please help me out. here's the script's code itself: --[[***************************************************************************** * * PROJECT: PlayerBlips * LICENSE: GNU GPLv3 * FILE: :PlayerBlips/cPlayerBlips.lua * PURPOSE: Player blips. * DEVELOPERS: John_Michael <[email protected]> * ********************************************************************************]] local playerBlipRoot = createElement("playerBlipRoot", "playerBlipRoot") --This function creates blips for all players when the resource starts. local function resourceStart() for _, player in ipairs(getElementsByType("player")) do if player ~= localPlayer then local r, g, b = getPlayerNametagColor(player) local blip = createBlipAttachedTo(player, 0, 2, r, g, b, 255, 1) setElementParent(blip, playerBlipRoot) end end end addEventHandler("onClientResourceStart", root, resourceStart) --This function creates a blip for new players when they join. local function playerJoin() local r, g, b = getPlayerNametagColor(source) local blip = createBlipAttachedTo(source, 0, 2, r, g, b, 255, 1) setElementParent(blip, playerBlipRoot) setTimer(updateBlipColor, 5000, 1, blip) --Upadate in 5 seconds, in case the server sets the color. end addEventHandler("onClientPlayerJoin", root, playerJoin) --This function destroys a players blip when they quit. local function playerQuit() for _, blip in ipairs(getElementChildren(playerBlipRoot)) do if getElementAttachedTo(blip) == source then destroyElement(blip) end end end addEventHandler("onClientPlayerQuit", root, playerQuit) --This function updates a blip's color, ensuring the blip colors always match. function updateBlipColor(blip) local player = getElementAttachedTo(blip) if player then local r, g, b = getPlayerNametagColor(player) setBlipColor(blip, r, g, b, 255) end end
-
omg, man, thank you for your hard work, i don't even know how to thank you.
-
i doubt it, but thanx 4 ur participation. i appreciate that.
-
fine. what's the name of the resource that ?
-
again, there're no audio files in the race mode folder. with the only 1 exeption. the "audio" folder has a file called "mission_accomplished.mp3", but this is not what im looking for. if you don't trust me, fine check it for yourself: https://community.multitheftauto.com/index.php?p= ... ails&id=35 this is the default race mode.
-
how do i do that? as i said before i'm not able to find the folder which contains the default mta sounds.
-
the problem with this script is that it doesn't turn off or replace the dafault mta sounds which means either the default countdown and the custom one(this one) are played at the same time. this really hurts my eardrums. if this tool also allows me to replace the default sounds then it will do. but first, i need to know the location of the default mta sounds.
-
this ones? g_RaceStartCountdown = Countdown.create(6, launchRace) g_RaceStartCountdown:useImages('img/countdown_%d.png', 474, 204) g_RaceStartCountdown:enableFade(true) g_RaceStartCountdown:addClientHook(3, 'playSoundFrontEnd', 44) g_RaceStartCountdown:addClientHook(2, 'playSoundFrontEnd', 44) g_RaceStartCountdown:addClientHook(1, 'playSoundFrontEnd', 44) g_RaceStartCountdown:addClientHook(0, 'playSoundFrontEnd', 45) ye, and btw where're located the default gta sounds?
-
bump. stil desperately craving for a solution.
-
yep, this will do. thanx good sir! as i mentioned above this method doesn't work for me, idk why. this is my second hosting company already, and im still unable to use the web interface, tho im pretty sure the webadmin script is turned on.
-
hi, it's me again. today i've got a question about giving mod/supermod rights to somebody on the go. now, if i want to give it to somebody, i have to shut down the server and edit the acl manually. but im aware that there's a simplier way that doesn't require to do such operatios. so, would you please give me a hint what could it be? i guess, you can do it via web interface, but it never worked for me for 1 reason or another.
-
basically i wanna a script that does something like this (i apologize for the faggotry that's going on here, i wasn't able to find a better video of this map)or this:
-
okay, thanx, got it. tho, this program has not collumns with the set top times, only a basic info about a map, like resname, playedcount etc. but i guess this will do. thanx.
-
damn right. i'm sorry i didn't mention it right on the start. i've been playing this mode for so long, that it has become the whole mta for me. like the only game mode mta has to offer. now i see it's far from the truth lol.
-
here, i'd like to ask you guys a question about this resource: https://community.multitheftauto.com/index.php?p= ... ls&id=1333 does anybody have any idea where this script saves all the set top times? im pretty much sure it doesn't save top times in its own directory. at least, i wasn't able to find any data on that there.
-
how do i do that? ye, right. all this time we've been tlaking about race mode.
-
haha, stop what? mapping? okay, how this script should look like? where do i begin? please don't tell me to learn lua, it's almost like telling "learn english" to a man who only wants to say "fakk you". just an example of ppl's needs and methods of their fulfilling.
-
hm, so that thing that've posted actually works? i can use it? sry for noobish questions, i've never made a map that had a script in it. yet.
-
default vehicle change pickup. nothing fancy.
-
i don't have the script that can do such thing. or maybe i do, idk if it's what i think it is. local delayvalue = false datmarker = createMarker (4216.8994140625,-479.3994140625,37.299999237061,"corona",5,12,7,77,153) function changeVehFunc ( hitPlayer, matchingDimension ) if (matchingDimension and hitPlayer == localPlayer) then if delayvalue == false then triggerServerEvent("changeVeh", localPlayer) delayvalue = true setTimer(function () delayvalue = false end, 15000, 1) end end end addEventHandler("onClientMarkerHit", datmarker, changeVehFunc)
-
how to do that? i guess it's easier, tho im not able to find "a random" option in the map editor.
-
hey. i'd like to make map that has a random vehiclechange pickup. and also, i'd like to limit that pickup to only land vehicles (no boats, planes, trains and stuff). any idea how do i do that? thanx in advance!
-
i'd not say so. it's been 4 days since i bought a server from them and all these 4 days they're unable to activate my server. what the fuck, man? if you want me to trasfer money to you instantly, then you must provide me with your servises also instantly, not in a week. oh yeah, only if by that you mean that ppl must wait 24/7 for you to reply or do something. fucking skank.
-
GameServers4You, for all your gameserver needs.
meh replied to GameServers4You's topic in Hosting solutions
same here. maybe somebody knows how to renew acl without shuting down server? i know that u can use web interface for that, but it never worked fo me, for some reason. =\ ah nevermind. my server have gone apeshiт already and there's nothing i can do about it. i've been to hivi also, just to check whether it was me who ruined everything or was the situation the same for everybody. and guess what? it is. hivi's fuked up big time as well. so i guess it's pretty much over. i'm not going to sue you for 3 bucks, but hey you should have at least warned us that you was out of business soon. so i'd not ever choose your hosting week ago. shame.
