Jump to content

Spakye

Members
  • Posts

    76
  • Joined

  • Last visited

  • Days Won

    1

Spakye last won the day on May 19 2021

Spakye had the most liked content!

1 Follower

Details

  • Gang
    [UVA]

Recent Profile Visitors

845 profile views

Spakye's Achievements

Transformer

Transformer (11/54)

22

Reputation

  1. As i said, it does what you want.
  2. Mate just start the game and try this it does what you want. It does need more work to make it look nice though the cam rotation is just here to fix the camera going a little bit to the right because im lazy to do some math to find precise positions.
  3. local coef = 0.01 function test(weapon, ammo, ammoInClip, hitX, hitY, hitZ, hitElement, startX, startY, startZ) if source ~= localPlayer then return end setCameraTarget(hitX, hitY, hitZ + coef) local rot = 360- getPedCameraRotation(localPlayer) setPedCameraRotation ( localPlayer, rot + 0.5 ) end addEventHandler("onClientPlayerWeaponFire", root, test) Try this, its not neat, there is some math to do but its a start
  4. setCameraTarget doesnt allow you to move it up sadly. Did you see this topic?
  5. Hello, try to replace setCameraTarget(...) with setCameraMatrix( x, y, z, lx, ly, lz + coef ) If it doesnt work you can also try something with get and setCursorPosition
  6. Spakye

    Mta DayZ

    Hello, would be nice if you can share the error message and bit more code so we can understand what is the problem.
  7. Hello, this should work setInteriorSoundsEnabled
  8. Hello, the error comes from aclGetGroup( value.aclGroup ) as it doesnt find the acl group and return false. whats in the groups table you are looping through ? i guess acl groups but we cant see how you set the var, maybe the problem comes from that
  9. Spakye

    GUI Click

    Hello, try to add false to your event handler addEventHandler ( "onClientGUIClick", theButton, theFunction, false )
  10. Hello, do you mean TeamSpeak or Discord ? this resource is meant for TS. If you want to do something similar with discord you can take a look at this : and this :
  11. Hello, unless im missing something i think the issue is the syntax, you wrotte instead of getElementsWithinColShape( colshape, "object" )
  12. Edit: i read wrong, don't mind me
  13. Hello, i think the way to do it is to freeze the ped and then set position every x milliseconds or even every frame but there might be a better way. you can check superman resource to see how its done. https://community.multitheftauto.com/index.php?p=resources&s=details&id=220
  14. Spakye

    Weapon Zoom

    Im afraid it won't work, it says : Note: setCameraFieldOfView does not affect the FOV for the following camera modes: 1) Player aiming 2) Vehicle front bumper camera 3) Fixed camera. I hope it will though!
  15. Spakye

    Weapon Zoom

    Ah my bad, sorry i dont know then. Maybe with flags as you said but none seems to match what you want
×
×
  • Create New...