Jump to content

Baguera

Members
  • Content Count

    11
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Baguera

  • Rank
    Square

Recent Profile Visitors

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

  1. Já foi resolvido ?
  2. Apenas apague a linha 6.
  3. Como eu posso adicionar esse comando na ACL. local Superman = {} -- Static global values local rootElement = getRootElement() local thisResource = getThisResource() -- Resource events addEvent("voar:start", true) addEvent("voar:stop", true) -- -- Start/stop functions -- function Superman.Start() accName = getAccountName(getPlayerAccount(hit)) if not isObjectInACLGroup("user."..accName,aclGetGroup("Voar")) then outputChatBox("Você não tem permissão", player, 255,255,255, true) local self = Superman addEventHandler("voar:start", rootElement, self.clientStart) addEventH
  4. 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" ) a
  5. No jeito que tá ai, o script não funciona, mesmo eu dando a acl de aduty para o player, o script não funciona, quando eu apago a linha 5 do scritp ele funciona perfeitamente, oque eu devo substituir no script, para apenas admin's possam usar o comando ??
  6. Mais o script é Client, e essas variáveis são Only Server functions. Por favor me ajuda...
  7. But these variables are from server, the resource is client Could you try to fix it for me? please.
  8. 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" ) a
  9. 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" ) a
  10. Queria saber como eu posso criar um script de contar as kills que um jogar faz no servidor alguem me ajuda ??
  11. Tou aprendendo agora, mas eu queria saber como eu posso destruir o carro depois que o player desce dele ?? Alguem me ajuda porfavor local vehMark = createMarker(-2138.5202636719, -403.91302490234, 34.343013763428, "cylinder", 4.5, 255,255,255, 20) function vehicleSpawner(hitElement,matchingDimension) if getElementType(hitElement) == "player" then if getPedOccupiedVehicle(hitElement) == false then local x,y,z = getElementPosition(hitElement) local veh = createVehicle(551, x,y,z) warpPedIntoVehicle(hitElement,veh) end
×
×
  • Create New...