WelCome

Members
  • Content count

    30
  • Joined

  • Last visited

Community Reputation

0 Neutral

About WelCome

  • Rank
    Rat

Recent Profile Visitors

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

  1. WelCome

    [HELP] Object and Cursor

    Not work
  2. WelCome

    [HELP] Object and Cursor

    Yes <oop>true</oop>
  3. WelCome

    [HELP] Object and Cursor

    someone can help me ?
  4. WelCome

    [HELP] Object and Cursor

    @JeViCo What?? Wiki: No errors
  5. WelCome

    [HELP] Object and Cursor

    Hello, I have a problem, when I move the cursor, the object becomes invisible gate = Object(1337,712.61853, 659.00409, 9.94867) addEventHandler('onClientRender',root,function() if not isCursorShowing() then return end local _,_,wx,wy,wz = getCursorPosition() gate:setPosition(wx,wy,wz) end)
  6. WelCome

    DDOS: ATTACKER [BAN HIM PLS]

    Its rly easy to block it.. https://wiki.multitheftauto.com/wiki/OnPlayerCommand
  7. WelCome

    [HELP] Trigger

    :facepalm: client addEventHandler("onClientPlayerWeaponFire",getLocalPlayer(),function(weapon, ammo, ammoInClip,endX,endY,endZ,hitElement) triggerServerEvent("daj_cos",localPlayer,endZ,hitElement) end) server addEvent("daj_cos",true) addEventHandler("daj_cos",root,function(endZ,hitElement) local x,y,z = getElementPosition(hitElement) if getDistanceBetweenPoints3D(_,_,z,_,_,endZ)<1.0 then killPed(hitElement) end end) db : Bad argument getDistanceBetweenPoints3D [ Expected vector3 at argument 1, got nil]
  8. WelCome

    [HELP] Trigger

    I don't know how to do it
  9. WelCome

    [HELP] Trigger

    Hello i want create a new hitbox-system but i have little problem with headshot -client function returining(endZ) return triggerServerEvent("daj_cos",localPlayer,endZ) end addEventHandler("onClientPlayerWeaponFire",getLocalPlayer(),function(weapon, ammo, ammoInClip,endX,endY,endZ,hitElement) if not getElementType(hitElement)=="player" then return end if returining(endZ)<0.3 then outputChatBox("true") end end) -server addEvent("daj_cos",true) addEventHandler("daj_cos",root,function(endZ) for i,v in pairs(getElementsByType("player")) do local x,y,z = getElementPosition(v) local distance = getDistanceBetweenPoints3D(_,_,z,_,_,endZ) return distance end end)
  10. WelCome

    Trigger + Database

    Ty for tips but this still not work
  11. WelCome

    Trigger + Database

    Pls Help me
  12. WelCome

    Trigger + Database

    Hello, I'm doing a base-system but I have a problem because when triggering from c-side to s-cide it crashes "Error" but the name and password are good Server addEvent("Base-System_",true) addEventHandler("Base-System_",root,function(text1,text2) if not text1 and text2 then return end local konto = dbQuery (connect, "SELECT * FROM `Bazy` WHERE `nazwa`=?",text1) local results = dbPoll(konto,-1) if (#results == 0) then outputChatBox("Error",source) else for i,v in ipairs(results) do if text2 == v.haslo then setElementData(source,v.dim) outputChatBox("Error",source) setElementPosition(source,-42.57263, -343.16113, -49) end end end end) c-side addEventHandler("onClientGUIClick",GUIEditor.button[5],function() if source==GUIEditor.button[5] then local text1 = guiGetText(GUIEditor.edit[1]) local text2 = guiGetText(GUIEditor.edit[2]) if text1 and text2 then triggerServerEvent("Base-System_",localPlayer,text1,test2) end end end)
  13. WelCome

    Xml

    Sry for spam, i repair this
  14. WelCome

    Xml

    Hi today i want create a base system but i have problem addCommandHandler("base_open",function(plr,command,name,pass) if name and pass then local find = xmlFindChild(xmlFile,name,0) for _,v in ipairs ( xmlNodeGetChildren ( xmlFile )) do local password = xmlNodeGetAttribute(v,"Password") end if find then outputChatBox("TesT",plr,255,0,0) end end end) and I want to get the value of the "password" variable and check if it is equal to the pass pass
  15. WelCome

    Table

    I want math.random "a" or "b" and create a marker with positions of "a" or "b"