Jump to content

Et-win

Members
  • Posts

    1,390
  • Joined

  • Last visited

Everything posted by Et-win

  1. Et-win

    Script help

    Do you even use /refresh or /refreshall ?
  2. function startFlyAmbientSound(player,seat) if (player == localPlayer) then vehid = getElementModel(getPedOccupiedVehicle(localPlayer)) if vehid == 520 then removeEventHandler("onClientRender", root, renderFade) turn = true addEventHandler("onClientRender",root,renderFade) end end end addEventHandler("onClientVehicleEnter", root, startFlyAmbientSound ) Simply check if the entering player is the localPlayer
  3. Et-win

    Bomber script

    function shootProjectile() local vehicle = getPedOccupiedVehicle(localPlayer) if(vehicle)then local x, y, z = getElementPosition(vehicle) createProjectile(vehicle, 21, x, y, z) unbindKey("vehicle_fire", "down", shootProjectile) setTimer (bindTheKeys , 10000, 1 ) end end function bindTheKeys () bindKey("vehicle_fire", "down", shootProjectile) end bindTheKeys()
  4. And explain what you want
  5. He wants always its rounding up
  6. Just set column ID from 2 to 1 x:
  7. triggerClientEvent(player, "language_showWindow", player) https://wiki.multitheftauto.com/wiki/OnResourceStart 'player' will not be defined. Instead of that, use 'getRootElement()' or 'getElementsByType("player")'
  8. guiGridListSetItemText ( animCat, 1, 2, "tsd", false, false) guiGridListSetItemText ( animCat, 1, 1, "tsd", false, false)
  9. Example: string1 = string.format("%.2X%.2X%.2X", 255, 0, 0).."Red" string2 = string.format("%.2X%.2X%.2X", 0, 255, 0).."Green" string3 = string.format("%.2X%.2X%.2X", 0, 0, 255).."Blue" outputChatBox(string1..", "..string2..", "..string3, 255, 255, 255, true) --Same as: string1 = string.format("%.2X%.2X%.2X", 255, 0, 0) string2 = string.format("%.2X%.2X%.2X", 0, 255, 0) string3 = string.format("%.2X%.2X%.2X", 0, 0, 255) outputChatBox(string1.."Red, "..string2.."Green, "..string3.."Blue", 255, 255, 255, true)
  10. string.format("%.2X%.2X%.2X", R, G, B)
  11. addEventHandler("onClientMouseEnter", home, false) addEventHandler("onClientMouseLeave", home, false) addEventHandler("onClientMouseEnter", mulher, false) addEventHandler("onClientMouseLeave", mulher, false) On the place where 'false' is must be a function, eh.
  12. Please open your eyes and READ.
  13. s = "Hello|World" table = split(s, "|") for placeNumber, stringData in ipairs(table) do outputChatBox(stringData) end *cough* edited
  14. It will. Make a table and run this one time.
  15. table.sort(table, function(var1, var2) return var1[1] < var2[1] end) Change to the index where the values are stored.
  16. It's still text-to-speech. Only difference is that you have specific messages read between specific players My friend made one with Google Translate voice, if that is what you meant...
  17. string.find(string, "#%x%x%x%x%x%x", 1, true) Correct me if I'm wrong.
  18. Et-win

    Optional Mods

    First download and then if finished replace......... Your function really is not going to wait until the files are downloaded..
  19. I would use onRaceStateChanging and then postfinish onClientMapStopping is when the map is shutting down if I'm correct. postFinish is when someone won.
  20. I saw it, and yup nice. (From pictures)
  21. 'guiSetEnable' disables indeed everything of the map list inculding the scrollbar, not my fault. (The whole tab gets disabled) The map currently being played can be added. CWS's Management Panel is indeed only available for the people who are in the allowed groups. Yup. Not sure if the system of CWS can handle that when I want to put that in. The link of this topic is posted there. When they copy-paste this into their browser they will get on the front page and see the download link of the community there. Atm I don't see a lot of reasons to make an update for CWS immediately.
×
×
  • Create New...