Jump to content

ZL|LuCaS

Members
  • Posts

    293
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by ZL|LuCaS

  1. but I had not realized thanks.
  2. I had added it to race twice, thus addEventHandler('onVehicleStartExit', root, function(player) if getElementData(player,"state") ~= "Play" then cancelEvent() end end) addEventHandler('onVehicleStartExit', root, function(player) if getElementData(player,"state") ~= "Play" then cancelEvent() end end)
  3. and what's wrong with that? addEventHandler('onVehicleStartExit', g_Root, function() if getElementData(player,"state") ~= "Play" then cancelEvent() end end)
  4. ZL|LuCaS

    PlaySound3D

    please explain better what you want to do?
  5. he did not need to use command handler, and this just an example
  6. exemple onPlayerJoin executeCommandHandler ( "unmutevoice" )
  7. do not have space for by, the ranking?
  8. ZL|LuCaS

    PlaySound3D

    without problems.
  9. on my server this perfect
  10. ZL|LuCaS

    PlaySound3D

    the code is working addEventHandler( 'onClientResourceStart', resourceRoot, function() local x, y, z = getElementPosition (localPlayer) local song = playSound3D("0.mp3", x, y, z, true) setSoundVolume ( song, 100 ) setSoundMinDistance ( song, 100 ) outputChatBox(":D") end ) addEventHandler( 'onClientResourceStart', resourceRoot, local song = playSound3D("Diskoparty.mp3", -2758, 968, 54, true) setSoundVolume ( song, 100 ) setSoundMinDistance ( song, 100 ) outputChatBox(":D") end )
  11. you want to edit the size of the name of the players?
  12. lol.
  13. "BD-Admin+"> "resource.mapcycler"> "resource.mapmanager"> "resource.resourcemanager"> "resource.votemanager"> "user.Cenation"> "user.test1">
  14. edit this on dxscoreboard_client.lua if (not rtPass or onlyAnim) and scoreboardDimensions.width ~= 0 and scoreboardDimensions.height ~= 0 then dxDrawRectangle( (sX/2)-(scoreboardDimensions.width/2), (sY/2)-(scoreboardDimensions.height/2), scoreboardDimensions.width, scoreboardDimensions.height, cScoreboardBackground, drawOverGUI ) end
  15. bindkey replace onClientResourceStart
  16. onClientResourceStart
  17. ZL|LuCaS

    PlaySound3D

    "Diskoparty.mp3" />
  18. you'll have to post the full code
  19. show the complete code
  20. ZL|LuCaS

    PlaySound3D

    function disko() local song = playSound3D("Diskoparty.mp3", -2758, 968, 54, true) setSoundVolume ( song, 100 ) setSoundMinDistance ( song, 100 ) outputChatBox(":D") end addCommandHandler("diskoparty", disko)
  21. ok but how can i loop the maps? should i use getElementsByType("MAPS") or what? example, than you can use clientside g_NextMap = "unknown" function update_client_infos(Nextmap) g_NextMap = Nextmap end addEvent("update_client_infos", true) addEventHandler("update_client_infos", getRootElement(), update_client_infos) serverside function getNextMap() if (g_ForcedNextMap) then return getMapName( g_ForcedNextMap ) else return "Random" end end function sendInfoToClient() local Nextmap = getNextMap() players = getElementsByType("player") for index,value in ipairs(players) do triggerClientEvent(value, "update_client_infos", value, nextmap) end end setTimer(sendInfoToClient, 3000, 0)
  22. show your meta.xml here
  23. you have to try to make the script and put your code here for us to help you
  24. meta.xcl ? is not meta.xml(.xml)
  25. explain better
×
×
  • Create New...