explOdeR
Members-
Posts
48 -
Joined
-
Last visited
Everything posted by explOdeR
-
no vez tampoco ! me doi con esta chingada esta re dificil creo que me tengo que quedar con el que tengo nomas D: !
-
nada que ver men lo que yo quiero esque salga junto con el join la bandera no quiero solo pegar una bandera ... por eso necesito espesificarme en esto... pero noce que leer para poder hacer que la bandera Salga cuando el player entre Ejemplo: ExplO a entrado al servidor desde [Chile]['bandera'] ..
-
que puedo leer para poder poner los flag's ? podrias ser tan amable de indicarme ?
-
g_Root = getRootElement() addEventHandler('onClientPlayerJoin', g_Root, function() outputChatBox("* #FFFFFF" .. getPlayerName(source) .. "#AFF00se ha conectado al Server Desde" .. getPlayerCountry ( source ) .. " ", 255, 128, 0, true) end ) bueno en getPlayerCountry deberia salir la bandera o no ? i quizas tenga que ponerlo así outputChatBox("* #FFFFFF" .. getPlayerName(source) .. "#AFF00se ha conectado al Server Desde" .. getPlayerCountry ( source ) .. ".. flag .. "", 255, 128, 0, true)
-
Intente hacer un joinquit que salga el nombre del pais i la bandera en el chatbox pero solo sale el nombre porfavor necesito una pequeña ayuda i si me falta poner algo diganme g_Root = getRootElement() addEventHandler('onClientPlayerJoin', g_Root, function() outputChatBox("* #FFFFFF" .. getPlayerName(source) .. "#AFF00se ha conectado al Server Desde" .. getPlayerCountry ( source ) .. " ", 255, 128, 0, true) end ) addEventHandler('onClientPlayerChangeNick', root, function(oldNick, newNick) outputChatBox('* #FFFFFF ' .. oldNick .. ' #AAFF00ahora se conoce como #FFFFFF' .. newNick, 255, 128, 0, true) end ) addEventHandler('onClientPlayerQuit', root, function(reason) outputChatBox('* #FFFFFF' .. getPlayerName(source) .. ' #AAFF00se ha desconectado del Server [#FFFFFF' .. reason .. '#AAFF00]', 255, 128, 0, true) end ) function showcountry() local flag = exports.admin:getPlayerCountry ( source ) if flag then setElementData(source,"Home",":admin/client/images/flags/"..flag..".png") else flag = "N/A" end end addEventHandler("onPlayerJoin",getRootElement(),showcountry)
-
http://speedy.sh/bsarH/dm-explo-vol7-Te ... isE-II.zip <3 and download from community :3
-
Hey Here is my v7 ! hope u enjoy i worked hard in this one Cheers ! https://www.youtube.com/watch?v=_SqhSGcT ... re=g-all-u
-
https://www.youtube.com/watch?v=wUDaBxQo ... re=g-all-u hope you like it
-
https://www.youtube.com/watch?v=C-ZR2t6d ... ure=relmfu
-
what need ? my deco ?
-
eso intento corregirlo pero noce que me falta he agregado setElementData ..... events que mas .... solo pido ayuda i desaparesco de aca
-
Eso intento he leido el wiki 2 veces porfavor te pido que me ayudes intentare leerlo denuevo , es una paja , pero lo hare ahah
-
Hunter Kills Saben estube toda la noche Intentando arreglar mi hunter kills pero nada necesito ayuda i en Scripting dije que cerraran el post ya que no se mucho ingles porfavor necesito ayuda Client Side .. function Explode () local him = getPlayerName( killer) local i = getPlayerName( source ) if getElementType ( killer ) =="vehicle" then triggerServerEvent ( "onClientVehicleExplode",getRootElement()) driver = getVehicleOccupant ( killer ) if driver then outputChatBox( tostring ".. him Has Killed .. i and got +1 Hunter Killes",255,255,0) end end end addEventHandler("onClientVehicleExplode",getRootElement(),Explode) Server Side.. exports.scoreboard:addScoreboardColumn('Hunter Kills') addEvent("onClientVehicleExplode",true) addEventHandler("onClientVehicleExplode",root, function (killer) local add = getElementData("Hunter Kills") setElementData("Hunter Kills", add+1) setElementData(source,"Hunter Kills","0") givePlayerMoney(killer, 100) end) si pueden ayudarme seria de mucha ayuda i quedaria en deuda con ustedes
-
Thats Better dude ! im dangerous !
-
Just shut up
-
what can i say ... ? u SUCK!
-
Hey lol Here is my map ) ! If u want a map FT Skype: and if u want that map martinjc7 https://www.youtube.com/watch?v=-UE6VIXOteg
-
nopes dont work and i see that the code is in my code see it ;(
-
lol Where i can put that code ?
-
Thanks all i Make it so close thx very Much ,thanks !
-
Well i made a Buy map , The client its work 100 % but i cant buy the map i see the list. here is the code: u can help ? please --Server Side : -- Server Side -- Maps function getServerMaps (loadList) local tableOut if loadList then tableOut = {} -- local deletedMaps = {} local gamemodes = {} gamemodes = call(getResourceFromName("mapmanager"), "getGamemodes") for id,gamemode in ipairs (gamemodes) do tableOut[id] = {} tableOut[id].name = getResourceInfo(gamemode, "name") or getResourceName(gamemode) tableOut[id].resname = getResourceName(gamemode) tableOut[id].maps = {} local maps = call(getResourceFromName("mapmanager"), "getMapsCompatibleWithGamemode" , gamemode) for _,map in ipairs (maps) do table.insert(tableOut[id]["maps"] ,{name = getResourceInfo(map, "name") or getResourceName(map), resname = getResourceName(map)}) end table.sort(tableOut[id]["maps"], sortCompareFunction) end table.sort((tableOut), sortCompareFunction) table.insert(tableOut, {name = "no gamemode", resname = "no gamemode", maps = {}}) local countGmodes = #tableOut local maps = call(getResourceFromName("mapmanager"), "getMapsCompatibleWithGamemode") for id,map in ipairs (maps) do -- if fileOpen(":"..getResourceName(map).."/deleted") then -- table.insert(deletedMaps ,{name = getResourceInfo(map, "name") or getResourceName(map), resname = getResourceName(map)}) -- else table.insert(tableOut[countGmodes]["maps"] ,{name = getResourceInfo(map, "name") or getResourceName(map), resname = getResourceName(map)}) -- end end -- table.sort(deletedMaps, sortCompareFunction) table.sort(tableOut[countGmodes]["maps"], sortCompareFunction) -- table.insert(tableOut, {name = "deleted maps", resname = "deleted maps", maps = {}}) -- local countGmodes = countGmodes + 1 -- tableOut[countGmodes]["maps"] = deletedMaps end local map = call(getResourceFromName("mapmanager"), "getRunningGamemodeMap") local gamemode = call(getResourceFromName("mapmanager"), "getRunningGamemode") gamemode = gamemode and getResourceName(gamemode) or "N/A" map = map and getResourceName(map) or "N/A" callClientFunction(loadList,"loadMaps", tableOut, gamemode, map) end function sortCompareFunction(s1, s2) if type(s1) == "table" and type(s2) == "table" then s1, s2 = s1.name, s2.name end s1, s2 = s1:lower(), s2:lower() if s1 == s2 then return false end local byte1, byte2 = string.byte(s1:sub(1,1)), string.byte(s2:sub(1,1)) if not byte1 then return true elseif not byte2 then return false elseif byte1 < byte2 then return true elseif byte1 == byte2 then return sortCompareFunction(s1:sub(2), s2:sub(2)) else return false end end function callGetMaps() for i,player in ipairs(getElementsByType("player")) do callClientFunction(player,"getMaps") end end addCommandHandler("rebuildMaps",callGetMaps) -- Buy a next map function buyMap(thePlayer,mapName) --local playerLevel = tonumber(loadPlayerData(thePlayer,"level")) local playerCash = tonumber(loadPlayerData(thePlayer,"cash")) if mapIsAlreadySet == false then if not (mapName == "") then --if playerLevel >= mapLevel then if playerCash >= mapCost then triggerEvent("onExternalNextmapRequest",thePlayer,thePlayer,mapName) else outputChatBox("#FF6600* #FFFFFFYou don't have enough money to set a map!",thePlayer,255,255,255,true) end --else --outputChatBox("#FF6600* #FFFFFFYou need to be level #ABCDEF"..mapLevel.." #FFFFFFor higher to set maps!",thePlayer,255,255,255,true) --end else outputChatBox("#FF6600* #FFFFFFPlease select a map from the list first!",thePlayer,255,255,255,true) end else outputChatBox("#FF6600* #FFFFFFA map is already set at the moment! Please try again later.",thePlayer,255,255,255,true) end end function resetMapSetStatus() mapIsAlreadySet = false end addEventHandler("onMapStarting",getRootElement(),resetMapSetStatus) addEvent("onScriptSetNextMap",true) addEventHandler("onScriptSetNextMap",getRootElement(), function (mapName) thePlayer = source local playerCash = tonumber(loadPlayerData(thePlayer,"cash")) savePlayerData(thePlayer,"cash",playerCash-mapCost) outputChatBox("#FFFFFFNextmap: "..getPlayerName(thePlayer).."#FFFFFF has bought a next map!",getRootElement(),255,255,255,true) outputChatBox("#FFFFFFNextmap: #FF8800"..mapName,getRootElement(),255,255,255,true) mapIsAlreadySet = true scoreboardRefresh(thePlayer) achievement31(thePlayer) end) addEvent("onRaceSetNextMap",true) addEventHandler("onRaceSetNextMap",getRootElement(), function () mapIsAlreadySet = true end)
-
lol i read the wiki 2 rounds ..... im bored to read read and read i need help , if the forum dont give me the help just i will read again
-
Guys i Make a Scoreboard Add ' Hunter Kills ' but dont work if u can help me i will give u the MOST BIG Thanks ! Thx Here is the code : exports.scoreboard:addScoreboardColumn('Hunter Kills') addEvent("onClientExplosion",true) addEventHandler("onClientExplosion",root, function (killer) givePlayerMoney(killer,50) addPlayerHunterKills(killer) end) function ClientExplosionFunction(x,y,z,theType) if getElementType ( source ) == "vehicle" then driver = getVehicleOccupant ( source ) if driver then outputChatBox ( tostring ( getPlayerName ( driver ) ) ) end end end addEventHandler("onClientExplosion",getRootElement(),ClientExplosionFunction)
