Jump to content

Danii

Members
  • Posts

    23
  • Joined

  • Last visited

Everything posted by Danii

  1. Skin mod https://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: https://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 https://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. https://community.multitheftauto.com/ind ... ls&id=7711 Original: https://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"> "Admin"> "RPC"> "resource.admin"> "resource.webadmin"> "user.XpM//>#ff0000L[3]o"> "Console"> "Moderator"> "SuperModerator"> "Admin"> "RPC"> "user.Console"> "RPC"> "RPC"> "MapEditor"> "Default"> "MapEditor"> "resource.editor_main"> "resource.edf"> "raceACLGroup"> "Default"> "raceACL"> "resource.race"> "DevGroup"> "DevACL"> "autoGroup_guieditor"> "autoACL_guieditor"> "resource.guieditor"> "Default"> "general.ModifyOtherObjects" access="false"> "general.http" access="false"> "command.start" access="false"> "command.stop" access="false"> "command.stopall" access="false"> "command.gamemode" access="false"> "command.changemode" access="false"> "command.changemap" access="false"> "command.stopmode" access="false"> "command.stopmap" access="false"> "command.skipmap" access="false"> "command.restart" access="false"> "command.refresh" access="false"> "command.refreshall" access="false"> "command.addaccount" access="false"> "command.delaccount" access="false"> "command.debugscript" access="false"> "command.chgpass" access="false"> "command.loadmodule" access="false"> "command.upgrade" access="false"> "command.mute" access="false"> "command.crun" access="false"> "command.srun" access="false"> "command.run" access="false"> "command.unmute" access="false"> "command.kick" access="false"> "command.ban" access="false"> "command.banip" access="false"> "command.unbanip" access="false"> "command.reloadbans" access="false"> "command.shutdown" access="false"> "command.install" access="false"> "command.aexec" access="false"> "command.whois" access="false"> "command.whowas" access="false"> "function.executeCommandHandler" access="false"> "function.setPlayerMuted" access="false"> "function.addAccount" access="false"> "function.addBan" access="false"> "function.removeBan" access="false"> "function.removeAccount" access="false"> "function.setAccountPassword" access="false"> "function.kickPlayer" access="false"> "function.banIP" access="false"> "function.banPlayer" access="false"> "function.banSerial" access="false"> "function.getBansXML" access="false"> "function.unbanIP" access="false"> "function.unbanSerial" access="false"> "function.reloadBans" access="false"> "function.getClientIP" access="false"> "function.setServerPassword" access="false"> "function.getServerPassword" access="false"> "function.callRemote" access="false"> "function.startResource" access="false"> "function.stopResource" access="false"> "function.restartResource" access="false"> "function.createResource" access="false"> "function.copyResource" access="false"> "function.addResourceMap" access="false"> "function.addResourceConfig" access="false"> "function.removeResourceFile" access="false"> "function.setResourceDefaultSetting" access="false"> "function.removeResourceDefaultSetting" access="false"> "function.redirectPlayer" access="false"> "function.aclReload" access="false"> "function.aclSave" access="false"> "function.aclCreate" access="false"> "function.aclDestroy" access="false"> "function.aclSetRight" access="false"> "function.aclRemoveRight" access="false"> "function.aclCreateGroup" access="false"> "function.aclDestroyGroup" access="false"> "function.aclGroupAddACL" access="false"> "function.aclGroupRemoveACL" access="false"> "function.aclGroupAddObject" access="false"> "function.aclGroupRemoveObject" access="false"> "function.refreshResources" access="false"> "function.setServerConfigSetting" access="false"> "function.updateResourceACLRequest" access="false"> "command.aclrequest" access="false"> "general.adminpanel" access="false"> "general.tab_players" access="false"> "general.tab_resources" access="false"> "general.tab_maps" access="false"> "general.tab_server" access="false"> "general.tab_bans" access="false"> "general.tab_adminchat" access="false"> "command.freeze" access="false"> "command.setnick" access="false"> "command.shout" access="false"> "command.spectate" access="false"> "command.slap" access="false"> "command.setgroup" access="false"> "command.sethealth" access="false"> "command.setarmour" access="false"> "command.setmoney" access="false"> "command.setskin" access="false"> "command.setteam" access="false"> "command.giveweapon" access="false"> "command.setstat" access="false"> "command.jetpack" access="false"> "command.warp" access="false"> "command.setdimension" access="false"> "command.setinterior" access="false"> "command.givevehicle" access="false"> "command.repair" access="false"> "command.blow" access="false"> "command.destroy" access="false"> "command.customize" access="false"> "command.setcolor" access="false"> "command.setpaintjob" access="false"> "command.listmessages" access="false"> "command.readmessage" access="false"> "command.listresources" access="false"> "command.execute" access="false"> "command.delete" access="false"> "command.setpassword" access="false"> "command.setwelcome" access="false"> "command.setgame" access="false"> "command.setmap" access="false"> "command.setweather" access="false"> "command.blendweather" access="false"> "command.setblurlevel" access="false"> "command.setwaveheight" access="false"> "command.setskygradient" access="false"> "command.setgamespeed" access="false"> "command.setgravity" access="false"> "command.settime" access="false"> "function.shutdown" access="false"> "command.setfpslimit" access="false"> "command.unban" access="false"> "command.banserial" access="false"> "command.unbanserial" access="false"> "command.listbans" access="false"> "command.fetchRemote" access="false"> "Moderator"> "general.ModifyOtherObjects" access="false"> "command.gamemode" access="true"> "command.changemode" access="true"> "command.changemap" access="true"> "command.stopmode" access="true"> "command.stopmap" access="true"> "command.skipmap" access="true"> "command.mute" access="true"> "command.unmute" access="true"> "command.whois" access="true"> "command.whowas" access="true"> "function.setPlayerMuted" access="true"> "function.kickPlayer" access="true"> "function.banIP" access="true"> "function.banPlayer" access="true"> "function.banSerial" access="true"> "function.getBansXML" access="true"> "function.unbanIP" access="true"> "function.unbanSerial" access="true"> "function.getClientIP" access="true"> "function.startResource" access="true"> "function.stopResource" access="true"> "function.restartResource" access="true"> "function.redirectPlayer" access="true"> "general.adminpanel" access="true"> "general.tab_players" access="true"> "general.tab_resources" access="false"> "general.tab_maps" access="false"> "general.tab_server" access="true"> "general.tab_bans" access="false"> "general.tab_adminchat" access="true"> "command.kick" access="false"> "command.freeze" access="true"> "command.setnick" access="true"> "command.shout" access="true"> "command.spectate" access="true"> "command.slap" access="true"> "command.setgroup" access="false"> "command.sethealth" access="true"> "command.setarmour" access="true"> "command.setmoney" access="false"> "command.setskin" access="true"> "command.setteam" access="true"> "command.giveweapon" access="true"> "command.setstat" access="true"> "command.jetpack" access="true"> "command.warp" access="true"> "command.setdimension" access="true"> "command.setinterior" access="true"> "command.createteam" access="false"> "command.destroyteam" access="false"> "command.givevehicle" access="true"> "command.repair" access="true"> "command.blowvehicle" access="true"> "command.destroyvehicle" access="true"> "command.customize" access="true"> "command.setcolor" access="true"> "command.setpaintjob" access="true"> "command.listmessages" access="true"> "command.readmessage" access="true"> "command.listresources" access="true"> "command.start" access="false"> "command.stop" access="false"> "command.stopall" access="false"> "command.restart" access="false"> "command.execute" access="false"> "command.setpassword" access="false"> "command.setwelcome" access="false"> "command.setgame" access="false"> "command.setmap" access="false"> "command.setweather" access="true"> "command.blendweather" access="true"> "command.setblurlevel" access="true"> "command.setwaveheight" access="true"> "command.setskygradient" access="true"> "command.setgamespeed" access="true"> "command.setgravity" access="true"> "command.settime" access="true"> "command.ban" access="false"> "command.unban" access="false"> "command.banip" access="false"> "command.unbanip" access="false"> "command.banserial" access="false"> "command.unbanserial" access="false"> "command.listbans" access="false"> "SuperModerator"> "general.ModifyOtherObjects" access="false"> "command.start" access="true"> "command.stop" access="true"> "command.restart" access="true"> "command.kick" access="true"> "command.ban" access="true"> "command.banip" access="true"> "command.unbanip" access="true"> "command.reloadbans" access="true"> "command.refresh" access="true"> "command.refreshall" access="false"> "command.loadmodule" access="true"> "command.addaccount" access="false"> "command.delaccount" access="false"> "command.chgpass" access="false"> "function.addAccount" access="true"> "function.removeAccount" access="false"> "function.setAccountPassword" access="false"> "general.adminpanel" access="true"> "general.tab_players" access="true"> "general.tab_resources" access="true"> "general.tab_maps" access="true"> "general.tab_server" access="true"> "general.tab_bans" access="true"> "general.tab_adminchat" access="true"> "command.freeze" access="true"> "command.mute" access="true"> "command.setnick" access="true"> "command.shout" access="true"> "command.spectate" access="true"> "command.slap" access="true"> "command.setgroup" access="false"> "command.sethealth" access="true"> "command.setarmour" access="true"> "command.setmoney" access="true"> "command.setskin" access="true"> "command.setteam" access="true"> "command.giveweapon" access="true"> "command.setstat" access="true"> "command.jetpack" access="true"> "command.warp" access="true"> "command.setdimension" access="true"> "command.setinterior" access="true"> "command.createteam" access="true"> "command.destroyteam" access="true"> "command.givevehicle" access="true"> "command.repair" access="true"> "command.blowvehicle" access="true"> "command.destroyvehicle" access="true"> "command.customize" access="true"> "command.setcolor" access="true"> "command.setpaintjob" access="true"> "command.listmessages" access="true"> "command.readmessage" access="true"> "command.listresources" access="true"> "command.stopall" access="false"> "command.execute" access="false"> "command.setpassword" access="true"> "command.setwelcome" access="true"> "command.setgame" access="true"> "command.setmap" access="true"> "command.setweather" access="true"> "command.blendweather" access="true"> "command.setblurlevel" access="true"> "command.setwaveheight" access="true"> "command.setskygradient" access="true"> "command.setgamespeed" access="true"> "command.setgravity" access="true"> "command.settime" access="true"> "command.unban" access="true"> "command.banserial" access="true"> "command.unbanserial" access="true"> "command.listbans" access="true"> "Admin"> "general.ModifyOtherObjects" access="true"> "general.http" access="true"> "command.shutdown" access="true"> "command.install" access="true"> "command.aexec" access="true"> "command.debugscript" access="true"> "command.upgrade" access="true"> "command.crun" access="true"> "command.srun" access="true"> "command.run" access="true"> "function.addBan" access="true"> "function.removeBan" access="true"> "function.reloadBans" access="true"> "function.executeCommandHandler" access="true"> "function.setServerPassword" access="true"> "function.getServerPassword" access="true"> "function.createResource" access="true"> "function.copyResource" access="true"> "function.addResourceMap" access="true"> "function.addResourceConfig" access="true"> "function.removeResourceFile" access="true"> "function.setResourceDefaultSetting" access="true"> "function.removeResourceDefaultSetting" access="true"> "function.aclReload" access="true"> "function.aclSave" access="true"> "function.aclCreate" access="true"> "function.aclDestroy" access="true"> "function.aclSetRight" access="true"> "function.aclRemoveRight" access="true"> "function.aclCreateGroup" access="true"> "function.aclDestroyGroup" access="true"> "function.aclGroupAddACL" access="true"> "function.aclGroupRemoveACL" access="true"> "function.aclGroupAddObject" access="true"> "function.aclGroupRemoveObject" access="true"> "function.refreshResources" access="true"> "function.setServerConfigSetting" access="true"> "function.updateResourceACLRequest" access="true"> "command.aclrequest" access="true"> "general.adminpanel" access="true"> "general.tab_players" access="true"> "general.tab_resources" access="true"> "general.tab_server" access="true"> "general.tab_maps" access="true"> "general.tab_bans" access="true"> "general.tab_adminchat" access="true"> "command.kick" access="true"> "command.freeze" access="true"> "command.mute" access="true"> "command.setnick" access="true"> "command.shout" access="true"> "command.spectate" access="true"> "command.slap" access="true"> "command.setgroup" access="true"> "command.sethealth" access="true"> "command.setarmour" access="true"> "command.setmoney" access="true"> "command.setskin" access="true"> "command.setteam" access="true"> "command.giveweapon" access="true"> "command.setstat" access="true"> "command.jetpack" access="true"> "command.warp" access="true"> "command.setdimension" access="true"> "command.setinterior" access="true"> "command.createteam" access="true"> "command.destroyteam" access="true"> "command.givevehicle" access="true"> "command.repair" access="true"> "command.blowvehicle" access="true"> "command.destroyvehicle" access="true"> "command.customize" access="true"> "command.setcolor" access="true"> "command.setpaintjob" access="true"> "command.listmessages" access="true"> "command.readmessage" access="true"> "command.listresources" access="true"> "command.start" access="true"> "command.stop" access="true"> "command.stopall" access="false"> "command.delete" access="true"> "command.restart" access="true"> "command.execute" access="true"> "command.setpassword" access="true"> "command.setwelcome" access="true"> "command.setgame" access="true"> "command.setmap" access="true"> "command.setweather" access="true"> "command.blendweather" access="true"> "command.setblurlevel" access="true"> "command.setwaveheight" access="true"> "command.setskygradient" access="true"> "command.setgamespeed" access="true"> "command.setgravity" access="true"> "command.settime" access="true"> "command.setfpslimit" access="true"> "function.shutdown" access="true"> "command.ban" access="true"> "command.unban" access="true"> "command.banip" access="true"> "command.unbanip" access="true"> "command.banserial" access="true"> "command.unbanserial" access="true"> "command.listbans" access="true"> "RPC"> "function.callRemote" access="true"> "general.adminpanel" access="false"> "general.tab_players" access="false"> "general.tab_resources" access="false"> "general.tab_maps" access="false"> "general.tab_server" access="false"> "general.tab_bans" access="false"> "general.tab_adminchat" access="false"> "command.kick" access="false"> "command.freeze" access="false"> "command.mute" access="false"> "command.setnick" access="false"> "command.shout" access="false"> "command.spectate" access="false"> "command.slap" access="false"> "command.setgroup" access="false"> "command.sethealth" access="false"> "command.setarmour" access="false"> "command.setmoney" access="false"> "command.setskin" access="false"> "command.setteam" access="false"> "command.giveweapon" access="false"> "command.setstat" access="false"> "command.jetpack" access="false"> "command.warp" access="false"> "command.setdimension" access="false"> "command.setinterior" access="false"> "command.givevehicle" access="false"> "command.repair" access="false"> "command.blow" access="false"> "command.destroy" access="false"> "command.customize" access="false"> "command.setcolor" access="false"> "command.setpaintjob" access="false"> "command.listmessages" access="false"> "command.readmessage" access="false"> "command.listresources" access="false"> "command.start" access="false"> "command.stop" access="false"> "command.stopall" access="false"> "command.restart" access="false"> "command.execute" access="false"> "command.delete" access="false"> "command.setpassword" access="false"> "command.setwelcome" access="false"> "command.setgame" access="false"> "command.setmap" access="false"> "command.setweather" access="false"> "command.blendweather" access="false"> "command.setblurlevel" access="false"> "command.setwaveheight" access="false"> "command.setskygradient" access="false"> "command.setgamespeed" access="false"> "command.setgravity" access="false"> "command.settime" access="false"> "function.shutdown" access="false"> "command.setfpslimit" access="false"> "command.ban" access="false"> "command.unban" access="false"> "command.banip" access="false"> "command.unbanip" access="false"> "command.banserial" access="false"> "command.unbanserial" access="false"> "command.listbans" access="false"> "command.fetchRemote" access="false"> "MapEditor"> "general.ModifyOtherObjects" access="true"> "function.startResource" access="true"> "function.stopResource" access="true"> "function.restartResource" access="true"> "function.createResource" access="true"> "function.copyResource" access="true"> "function.renameResource" access="true"> "function.deleteResource" access="true"> "function.addResourceMap" access="true"> "function.addResourceConfig" access="true"> "function.removeResourceFile" access="true"> "function.setResourceDefaultSetting" access="true"> "function.removeResourceDefaultSetting" access="true"> "function.xmlLoadFile" access="true"> "general.adminpanel" access="false"> "general.tab_players" access="false"> "general.tab_resources" access="false"> "general.tab_maps" access="false"> "general.tab_server" access="false"> "general.tab_bans" access="false"> "general.tab_adminchat" access="false"> "command.kick" access="false"> "command.freeze" access="false"> "command.mute" access="false"> "command.setnick" access="false"> "command.shout" access="false"> "command.spectate" access="false"> "command.slap" access="false"> "command.setgroup" access="false"> "command.sethealth" access="false"> "command.setarmour" access="false"> "command.setmoney" access="false"> "command.setskin" access="false"> "command.setteam" access="false"> "command.giveweapon" access="false"> "command.setstat" access="false"> "command.jetpack" access="false"> "command.warp" access="false"> "command.setdimension" access="false"> "command.setinterior" access="false"> "command.givevehicle" access="false"> "command.repair" access="false"> "command.blow" access="false"> "command.destroy" access="false"> "command.customize" access="false"> "command.setcolor" access="false"> "command.setpaintjob" access="false"> "command.listmessages" access="false"> "command.readmessage" access="false"> "command.listresources" access="false"> "command.start" access="false"> "command.stop" access="false"> "command.stopall" access="false"> "command.restart" access="false"> "command.execute" access="false"> "command.delete" access="false"> "command.setpassword" access="false"> "command.setwelcome" access="false"> "command.setgame" access="false"> "command.setmap" access="false"> "command.setweather" access="false"> "command.blendweather" access="false"> "command.setblurlevel" access="false"> "command.setwaveheight" access="false"> "command.setskygradient" access="false"> "command.setgamespeed" access="false"> "command.setgravity" access="false"> "command.settime" access="false"> "function.shutdown" access="false"> "command.setfpslimit" access="false"> "command.ban" access="false"> "command.unban" access="false"> "command.banip" access="false"> "command.unbanip" access="false"> "command.banserial" access="false"> "command.unbanserial" access="false"> "command.listbans" access="false"> "command.fetchRemote" access="false"> "raceACL"> "general.ModifyOtherObjects" access="true"> "function.xmlLoadFile" access="true"> "function.startResource" access="true"> "function.stopResource" access="true"> "function.restartResource" access="true"> "general.adminpanel" access="false"> "general.tab_players" access="false"> "general.tab_resources" access="false"> "general.tab_maps" access="false"> "general.tab_server" access="false"> "general.tab_bans" access="false"> "general.tab_adminchat" access="false"> "command.kick" access="false"> "command.freeze" access="false"> "command.mute" access="false"> "command.setnick" access="false"> "command.shout" access="false"> "command.spectate" access="false"> "command.slap" access="false"> "command.setgroup" access="false"> "command.sethealth" access="false"> "command.setarmour" access="false"> "command.setmoney" access="false"> "command.setskin" access="false"> "command.setteam" access="false"> "command.giveweapon" access="false"> "command.setstat" access="false"> "command.jetpack" access="false"> "command.warp" access="false"> "command.setdimension" access="false"> "command.setinterior" access="false"> "command.givevehicle" access="false"> "command.repair" access="false"> "command.blow" access="false"> "command.destroy" access="false"> "command.customize" access="false"> "command.setcolor" access="false"> "command.setpaintjob" access="false"> "command.listmessages" access="false"> "command.readmessage" access="false"> "command.listresources" access="false"> "command.start" access="false"> "command.stop" access="false"> "command.stopall" access="false"> "command.restart" access="false"> "command.execute" access="false"> "command.delete" access="false"> "command.setpassword" access="false"> "command.setwelcome" access="false"> "command.setgame" access="false"> "command.setmap" access="false"> "command.setweather" access="false"> "command.blendweather" access="false"> "command.setblurlevel" access="false"> "command.setwaveheight" access="false"> "command.setskygradient" access="false"> "command.setgamespeed" access="false"> "command.setgravity" access="false"> "command.settime" access="false"> "function.shutdown" access="false"> "command.setfpslimit" access="false"> "command.ban" access="false"> "command.unban" access="false"> "command.banip" access="false"> "command.unbanip" access="false"> "command.banserial" access="false"> "command.unbanserial" access="false"> "command.listbans" access="false"> "command.fetchRemote" access="false"> "DevACL"> "resource.performancebrowser.http" access="true"> "resource.ajax.http" access="true"> "general.adminpanel" access="false"> "general.tab_players" access="false"> "general.tab_resources" access="false"> "general.tab_maps" access="false"> "general.tab_server" access="false"> "general.tab_bans" access="false"> "general.tab_adminchat" access="false"> "command.kick" access="false"> "command.freeze" access="false"> "command.mute" access="false"> "command.setnick" access="false"> "command.shout" access="false"> "command.spectate" access="false"> "command.slap" access="false"> "command.setgroup" access="false"> "command.sethealth" access="false"> "command.setarmour" access="false"> "command.setmoney" access="false"> "command.setskin" access="false"> "command.setteam" access="false"> "command.giveweapon" access="false"> "command.setstat" access="false"> "command.jetpack" access="false"> "command.warp" access="false"> "command.setdimension" access="false"> "command.setinterior" access="false"> "command.givevehicle" access="false"> "command.repair" access="false"> "command.blow" access="false"> "command.destroy" access="false"> "command.customize" access="false"> "command.setcolor" access="false"> "command.setpaintjob" access="false"> "command.listmessages" access="false"> "command.readmessage" access="false"> "command.listresources" access="false"> "command.start" access="false"> "command.stop" access="false"> "command.stopall" access="false"> "command.restart" access="false"> "command.execute" access="false"> "command.delete" access="false"> "command.setpassword" access="false"> "command.setwelcome" access="false"> "command.setgame" access="false"> "command.setmap" access="false"> "command.setweather" access="false"> "command.blendweather" access="false"> "command.setblurlevel" access="false"> "command.setwaveheight" access="false"> "command.setskygradient" access="false"> "command.setgamespeed" access="false"> "command.setgravity" access="false"> "command.settime" access="false"> "function.shutdown" access="false"> "command.setfpslimit" access="false"> "command.ban" access="false"> "command.unban" access="false"> "command.banip" access="false"> "command.unbanip" access="false"> "command.banserial" access="false"> "command.unbanserial" access="false"> "command.listbans" access="false"> "command.fetchRemote" access="false"> "autoACL_guieditor"> "general.ModifyOtherObjects" access="false" who="" pending="true" date=""> "function.callRemote" access="false" who="" pending="true" date="">
  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 local toptimes1 = getElementData ( source, "Top Times" ) setAccountData ( account, "toptimes.top", toptimes1 ) end end function loger ( _,account ) if ( account ) then local toptimes = getAccountData ( account, "toptimes.top" ) if ( toptimes ) then setElementData ( source, "Top Times", toptimes ) end end end addEventHandler ( "onPlayerQuit", getRootElement( ), saverhere ) addEventHandler ( "onPlayerLogin", getRootElement ( ), loger )
  14. Danii

    MTA Map Editor

    Download here: http://mtasa-resources.googlecode.com/f ... s-r915.zip
  15. Ese script no esta modificado. Necesitas modificarlo y usar triggerClientEvent para hacer sonar la alarma.
  16. Tienes el script server-side? por lo que veo se necesita usar un triggerClient...
  17. Danii

    ¿ En que fallo ?

    local streamURL = "http://dc162.4shared.com/img/1136148919/682088a1/dlink__2Fdownload_2FyLCwlhkI_3Ftsid_3D20120225-64913-6b58cda0/preview.mp3" function onResourceStart() sound = playSound(streamURL, true) end function makeRadioStayOff() setRadioChannel(0) cancelEvent() end function toggleSong() if not songOff then setSoundVolume(sound,0) songOff = true removeEventHandler("onClientPlayerRadioSwitch",getRootElement(),makeRadioStayOff) else setSoundVolume(sound,1) songOff = false setRadioChannel(0) addEventHandler("onClientPlayerRadioSwitch",getRootElement(),makeRadioStayOff) end end addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), onResourceStart) addEventHandler("onClientPlayerRadioSwitch",getRootElement(),makeRadioStayOff) addEventHandler("onClientPlayerVehicleEnter",getRootElement(),makeRadioStayOff) addCommandHandler("music",toggleSong) bindKey("m","down","music")
  18. Mod: https://community.multitheftauto.com/index.php?p= ... ls&id=3845
  19. Agregaste el recurso al ACL grupo Admin?
  20. Danii

    Random mensajes

    setTimer ( function () numeroAlAzar = math.random ( 1, 4 ) -- Al azar , elige los mensajes ! if numeroAlAzar == 1 then--Este es el 1 outputChatBox ( "#FFFFFF Nuevo en el Server? #00FFFF Lee las /Reglas", getRootElement(), 255, 0, 0, true ) elseif numeroAlAzar == 2 then--Este es el 2 outputChatBox ( "#FFFFFF Abuser o Chater? #00FFFF Usa /Report", getRootElement(), 255, 0, 0, true ) elseif numeroAlAzar == 3 then--Este es el 3 outputChatBox ( "#FFFFFF Visita el Foro! #00FFFF GTAChile.com", getRootElement(), 255, 0, 0, true ) elseif numeroAlAzar == 4 then--Este es el 4 outputChatBox ( "#FFFFFF Admins Online? #00FFFF Usa /Admins", getRootElement(), 255, 0, 0, true ) end end, 30000, 0 ) Para agregar mas mensajes esta bien lo que isistes, si agregas un 5 mensaje cambia el número: math.random ( 1, 5 )
  21. Shader resources.. https://community.multitheftauto.com/index.php?p= ... ls&id=3058 https://community.multitheftauto.com/index.php?p= ... ls&id=3060 https://community.multitheftauto.com/index.php?p= ... ls&id=3057 https://community.multitheftauto.com/index.php?p= ... ls&id=3059 Stolen https://community.multitheftauto.com/index.php?p= ... ls&id=3061 https://community.multitheftauto.com/index.php?p= ... ls&id=3062 originals https://community.multitheftauto.com/index.php?p= ... ls&id=1578 https://community.multitheftauto.com/index.php?p= ... ils&id=819
×
×
  • Create New...