ozulus

Members
  • Content count

    131
  • Joined

  • Last visited

Community Reputation

0 Neutral

About ozulus

  • Rank
    Poot-butt
  • Birthday 02/05/99

Details

  • Gang
    Mahiwaga
  • Location
    Turkey

Recent Profile Visitors

323 profile views
  1. front and behind coords of vehicle

    https://wiki.multitheftauto.com/wiki/GetElementMatrix Take a look at first example.
  2. if and

    local playerTeam = getPlayerTeam(source) local teamName = "" if isElement(playerTeam) then teamName = getTeamName(playerTeam) end if exports.Xacl:isPlayerInGroup(source, "subadmin") and (teamName = "Staff") then -- do something end
  3. Import all files in meta

    I don't think it's really required since it can be done with any other programming languages. Just google it, there are already a few of examples.
  4. [RESOLVED] Why not working the marker?

    Ah didn't see that you haven't marker2 so write marker instead of marker2 addEventHandler("onClientMarkerHit", marker, function()
  5. [RESOLVED] Why not working the marker?

    Try this addEventHandler("onClientMarkerHit", marker2, function() -- function() added setTimer(function() guiProgressBarSetProgress(GUIEditor.progressbar[1], 10) end, 1000, 1) setTimer(function() guiProgressBarSetProgress(GUIEditor.progressbar[1], 20) end, 2000, 1) setTimer(function() guiProgressBarSetProgress(GUIEditor.progressbar[1], 30) end, 3000, 1) setTimer(function() guiProgressBarSetProgress(GUIEditor.progressbar[1], 40) end, 4000, 1) setTimer(function() guiProgressBarSetProgress(GUIEditor.progressbar[1], 50) end, 5000, 1) setTimer(function() guiProgressBarSetProgress(GUIEditor.progressbar[1], 60) end, 6000, 1) setTimer(function() guiProgressBarSetProgress(GUIEditor.progressbar[1], 70) end, 7000, 1) setTimer(function() guiProgressBarSetProgress(GUIEditor.progressbar[1], 80) end, 8000, 1) setTimer(function() guiProgressBarSetProgress(GUIEditor.progressbar[1], 90) end, 9000, 1) setTimer(function() guiProgressBarSetProgress(GUIEditor.progressbar[1], 100) end, 10000, 1) setTimer(function() guiSetVisible (GUIEditor.progressbar[1], false) triggerServerEvent("jutalmad", getLocalPlayer(), group) end, 11000, 1) end) -- end added
  6. Check if the player banned

    `felhasznalo`=?? change to `felhasznalo`=?
  7. SQL to gridlist

    Do you create new table for every users? If not, you are wrong. It should be like that. dbQuery(getActualVehs, {client}, con, "SELECT * FROM tableName WHERE accountNameColumn = "..accn)
  8. Short lua question

    Maybe like this? removeEventHandler(eventName, source, handlerFunction)
  9. Load Remote XML File

    Here you go, not tested hope it works. You must write response data that you got it from link or somewhere else.. function returnFunction(responseData, errno) if (errno == 0) then local file = fileExists("test.xml") and fileOpen("test.xml") or fileCreate("test.xml") fileWrite(file, responseData) fileClose(file) local file = xmlLoadFile("test.xml") for i, node in pairs(xmlNodeGetChildren(file))do outputChatBox(xmlNodeGetName(node), root) end xmlUnloadFile(file) --added end end fetchRemote("http://www.w3schools.com/xml/note.xml", returnFunction)
  10. Tuning Garage Help

    It's just easy to fix... for _,t in pairs(markers) do marker = createMarker(t.x,t.y,t.z,"cylinder",3,0,0,0,0) addEventHandler ("onMarkerHit", marker, onHit) end
  11. I managed to fix the problem thanks guys anyway
  12. It's just easy to do as you said but i can't make smooth transition between colors. The most important part it's. So it'll be more realistic. Any ideas to make that?
  13. I was thinking something like that, i'll try it asap thanks for reply
  14. What are you talking about man? CyrstalMV didn't share that script. I'll create this from strach. Don't you get what i mean guys?
  15. Yo, i am here to get some idea about 'Spraying on vehicles' script which made by CyrstalMV, if you don't know here you go, just watch that video I liked the idea, also saw on SAMP. Soo, my question is, how can i detect when a player spraying on vehicle?