Jump to content


  • Posts

  • Joined

  • Last visited

1 Follower

Recent Profile Visitors

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

Zcraks's Achievements


Rat (9/54)



  1. Who knows event for camera, spraycan, fire extinguisher ? "onPlayerWeaponFire" dont working.
  2. marker = createMarker ( 2371.64, -1126.66, 1050.88 - 1, "cylinder", 0.7) marker:setInterior(8) marker:setDimension(1) addEventHandler("onMarkerHit", marker, function( player ) if player:getType() == "player" and dim == 1 then outputDebugString("TEST") end end) Server side
  3. addEventHandler ("onPlayerVehicleEnter", getRootElement(), function (theVehicle, seat, jacked) if theVehicle and seat == 0 then theVehicle:setData("lastPos", theVehicle:getPosition()) end end) setTimer(function() for k, veh in ipairs(getElementsByType("vehicle")) do if veh then local pos = veh:getPosition() local vec = veh:getData("lastPos") if pos and vec and distance then --[[ Error => ]] local value = getDistanceBetweenPoints3D(vec:getX(), vec:getY(), vec:getZ(), pos:getX(), pos:getY(), pos:getZ()) if value then ------------- end end end end end, 2000, 0) attempt to index local "vec" ( a user data value )
  4. Error stack overflow addEventHandler("onPlayerSpawn", getRootElement(), function() setTimer(function() end, 10000, 0) end)
  5. who knows how to fix the problem ? https://ibb.co/LJKBPxv
  6. Hi, is it possible to start voice chat through export?
  7. local function backspacePress ( button, press ) if button == 'backspace' and press then if value ~= 'none' then editBox[value] = utf8.sub(editBox[value], 1,utf8.len(editBox[value])-1) end end end addEventHandler("onClientKey", root, backspacePress ) How do I create a condition where if a player presses the "backspace" button, the characters are deleted until the player releases the button ?
  8. I dont use the GUI. What to do then?
  9. When starting the login panel, I can use different binds. How can they be turned off for a while?
  10. Dont working dxCreateFont quality. local font = dxCreateFontClient("font.otf", 100, false, "cleartype_natural" )
  11. Zcraks

    Custom radar

    Hi, who knows to how a create custom circle radar ?
  12. Hi, who knows how to create a character clothes system ? Don't CJ system.
  13. x1, y1 = getScreenFromWorldPosition(v[1]+0.5, v[2], v[3]+1) x2, y2 = getScreenFromWorldPosition(v[1]+0.5, v[2], v[3]) ... getDistanceBetweenPointAndSegment2D(clickedX, clickedY, x1, y1, x2, y2) attempt to call global "getDistanceBetweenPointAndSegment2D" (a nil value)
  14. Hi, how create a click for dxDrawMaterialLine3D ?
  • Create New...