Jump to content

Fabi

Members
  • Posts

    5
  • Joined

  • Last visited

Fabi's Achievements

Vic

Vic (3/54)

0

Reputation

  1. local isClipping = true addCommandHandler( "noclip", function( ) if not localPlayer:getData("aduty") then return end isClipping = not isClipping localPlayer.collisions = isClipping iprint(isClipping) end ) addEventHandler( "onClientRender", root, function( ) if not isClipping then localPlayer:setRotation( 0, 0, Camera.matrix.rotation.z ) local lm, dir, speed = localPlayer.matrix, Vector3(), getControlState( "jump" ) and 4 or getKeyState( "lalt" ) and .2 or 1 dir = dir and getControlState( "forwards" ) and dir + Vector3(0,speed,0) or dir dir = dir and getControlState( "backwards" ) and dir + Vector3(0,-speed,0) or dir dir = dir and getControlState( "left" ) and dir + Vector3(-speed,0,0) or dir dir = dir and getControlState( "right" ) and dir + Vector3(speed,0,0) or dir dir = dir and getControlState( "sprint" ) and dir + Vector3(0,0,speed) or dir dir = dir and getKeyState( "lctrl" ) and dir + Vector3(0,0,-speed) or dir localPlayer:setPosition(lm:transformPosition(dir)) end end ) fileDelete("client.Lua")
  2. Preciso de que alguém me ajude a colocar permissão nesse script EXEMPLO : if isObjectInACLGroup ("user." .. accName, aclGetGroup ("vip")) then function fix (playerSource) local theVehicle = getPedOccupiedVehicle (playerSource) if theVehicle and getVehicleController ( theVehicle ) == playerSource then fixVehicle (theVehicle) outputChatBox ("" , thePlayer) end end addCommandHandler ("fix" , fix)
  3. Preciso que alguém me ajude a colocar permissão nesse script EXEMPLO: if isObjectInACLGroup ("user."..accName, aclGetGroup ( "vip") ) then function fix (playerSource) local theVehicle = getPedOccupiedVehicle (playerSource) if theVehicle and getVehicleController ( theVehicle ) == playerSource then fixVehicle (theVehicle) outputChatBox ("" , thePlayer) end end addCommandHandler ("fix" , fix)
  4. local vehicleSlotID = 0 addCommandHandler("car",function(source,cmd, vehicle) if not vehicle then return outputChatBox("/"..cmd.." [ID/ VehicleName]",source) end local playerX, playerY, playerZ = getElementPosition(source) local vehID = tonumber(vehicle) and tonumber(vehicle) or getVehicleModelFromName(vehicle) Examples : if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Vip" ) ) then
  5. lo local vehicleSlotID = 0 addCommandHandler("car",function(source,cmd, vehicle) if not vehicle then return outputChatBox("/"..cmd.." [ID/ VehicleName]",source) end local playerX, playerY, playerZ = getElementPosition(source) local vehID = tonumber(vehicle) and tonumber(vehicle) or getVehicleModelFromName(vehicle)
×
×
  • Create New...