Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About Danii

  • Rank

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Skin mod http://community.multitheftauto.com/ind ... ls&id=8229 DONE
  2. Estás chequeando que si el jugador tiene acceso a kickPlayer no haga nada. Intenta así: function onSwitchToMinigun (previous, current) if ( current == 38 ) then kickPlayer(source, " '!Anti Rocket Launcher!") end end addEventHandler("onPlayerWeaponSwitch", getRootElement(), onSwitchToMinigun )
  3. Stolen: http://community.multitheftauto.com/ind ... ls&id=8132 Original: https://community.multitheftauto.com/in ... ls&id=3479 DONE
  4. Con eso igual te lo pueden sacar, mejor compilarlo.
  5. function Reparar(thePlayer) local Veiculo = getPedOccupiedVehicle(thePlayer) if Veiculo then outputChatBox("Vehículo reparado.",thePlayer) fixVehicle(Veiculo) playSoundFrontEnd ( thePlayer, 46 ) else outputChatBox("No tienes un vehículo.",thePlayer) end end addEventHandler("onPlayerJoin",root,function() bindKey(source,"k", "down", Reparar) end) function onStart() for id, players in ipairs(getElementsByType("player")) do bindKey(players ,"k", "down", Reparar) end end
  6. lol i understood that he wants hear the sound for him.
  7. A custom sound? Try: Client. function play() playSound ("sound.mp3") end addEvent("playSound",true ) addEventHandler("playSound",root, play ) Server. addEventHandler("onPlayerChat", root, function ( msg, type ) if msg == "hey" and type == 0 then triggerClientEvent ( "playSound", source) end end )
  8. Crea tu settings y luego usa get para obtenerlo http://wiki.multitheftauto.com/wiki/Get Ve el ejemplo de la wiki
  9. Admin panel -> Resources -> Busca el recurso zombies dale doble click y verás las configuraciones. A eso te refieres?
  10. http://community.multitheftauto.com/ind ... ls&id=7711 Original: http://community.multitheftauto.com/ind ... ils&id=332 DONE
  11. Danii

    Remove color codes

    function removeColorCoding(name) return type(name)=='string' and string.gsub ( name, '#%x%x%x%x%x%x', '' ) or name end Un ejemplo para usarlo: removeColorCoding(getPlayerName(source))
  12. Apaga el servidor y reemplaza el acl por este. "Everyone"> "Default"> "user.*"> "user.lpdc99"> "resource.*"> "Moderator"> "Moderator"> "resource.mapcycler"> "resource.mapmanager"> "resource.resourcemanager"> "resource.votemanager"> "SuperModerator"> "Moderator"> "SuperModerator"> "Admin"> "Moderator"> "SuperModerator"
  13. Try: exports.scoreboard:scoreboardAddColumn( "Top Times") function someoneReachedHunter(number, sort, model) if sort == "vehiclechange" and model == 425 then top = getElementData(source,"Top Times") or 0 setElementData(source,"Top Times",top+1) end end addEvent("onPlayerPickUpRacePickup",true) addEventHandler("onPlayerPickUpRacePickup",getRootElement(),someoneReachedHunter) function saverhere () local account = getPlayerAccount( source ) if ( account and not isGuestAccount(account) ) then
  • Create New...