
mehdi koocholo
Members-
Posts
11 -
Joined
-
Last visited
mehdi koocholo's Achievements

Square (6/54)
0
Reputation
-
mehdi koocholo started following call marker from another function , megaphone voice effect , grapple and 3 others
-
hi guys Is it possible to add a sound effect like this video to the sound of the player? I want to make a megaphone for police video : megaphone voice
-
hi guys how can I get the height of a building? for example, when I approach a building, it will give me the height of the building using a command like this video https://www.youtube.com/watch?v=RaWbS1rWmhM
-
How can I make the player sound louder? i want create megaphone police like fivem I just don't know how to make the player sound louder https://media.discordapp.net/attachments/1099800823724253215/1137128273743192247/2023-07-03_09-48-58_ukkn.mp4 kike this video
-
Still having a problem
-
i can't but you can test script with code
-
hi guys I created a reporter camera but it has a problem When the person holding the camera turns, the camera does not turn with the person this is my code ``` x,y,z = getElementPosition(localPlayer) local camera = createObject(367,x, y, z) function updatePed() setElementBoneRotation(localPlayer,22,0, -60, 0) setElementBoneRotation(localPlayer,23,90, -100, 80) setElementBoneRotation(localPlayer,24,80, 30, 0) setElementBoneRotation(localPlayer,32,0, -85, 10) setElementBoneRotation(localPlayer,33,-70, -108, -30) updateElementRpHAnim (localPlayer) addEventHandler ("onClientPedsProcessed", getRootElement(), updatePed) end addCommandHandler("setanim1",updatePed) function dadancamera() setElementData(camera,"startlive",true) triggerServerEvent("messagelive",root) exports.bone_attach:attachElementToBone(camera,localPlayer,1, 0.15, 0.25, -0.1, 0, 0, 90) end addCommandHandler("setanim1",dadancamera) function updatePed2() removeEventHandler("onClientPedsProcessed", getRootElement(), updatePed) destroyElement(camera) end addCommandHandler("setanim2",updatePed2) function didanlive() if getElementData(camera,"startlive") == true then addEventHandler ( "onClientRender", root, didanlive ) x,y,z = getElementPosition(localPlayer) x2,y2,z2 = getElementPosition(camera) x4,y4,z4 = getElementRotation(camera) x3,y3,z3 = getElementRotation(localPlayer) setCameraMatrix(x2,y2,z2,x,y,z2,0,0) end end addCommandHandler("live",didanlive) function camset() setCameraTarget(localPlayer) removeEventHandler ( "onClientRender", root, didanlive ) end addCommandHandler("ended",camset) ```
-
i want call markerveh from function mark to function job
-
i want call markerveh not hidemark
-
hi guys i want call marker from another function like this code local hidemark = createMarker(10,50,5,"cylinder",1,0,255,0) function mark(theplayer) markerveh =createMarker(0,0,5,"cylinder",1,0,255,0) end addEventHandler("onMarkerHit",marker1,mark) function job1(theplayer) setElementVisibleTo(markerveh,root,false)-- for here end addCommandHandler("hidemark",job1)