Jump to content

Gallagher

Members
  • Posts

    216
  • Joined

  • Last visited

Everything posted by Gallagher

  1. Gallagher

    closed

    could not do in a way that works: ( anyway thanks
  2. Gallagher

    closed

    thank you it works! I now have another problem, the image disrupts the crosshairs of some weapons such as Sniper Rifle, Rocket Launcher and others. would add a prohibition so that the image is not displayed when you are with a Rocket Launcher? prohibit the id of the weapon? thanks again
  3. because zombies only die when his head explodes. They were scheduled to die just like that. Must have some function. bodypart. we analyze the script to post.
  4. Gallagher

    closed

    I put in a bind "mouse 2", and it works, but I wanted the image to disappear when I loose the mouse2, it is possible to make the image appear only while tightening "mouse2"? thanks
  5. Gallagher

    closed

    Thank you again. you work hard for that post, should win an award!
  6. Gallagher

    closed

    hello! I would like to ask for help again. How do I put a bind on this image? When the Player tighten "o" or another button the image appears, and when he presses the image disappears again. Thank you! local myImage = guiCreateStaticImage ( 0.45, 0.48, 0.2, 0.5, "myimage.png", true )
  7. Gallagher

    closed

    and how would I do that all the players have rockets of the same color? would have some sort of: setProjectilColor?
  8. Gallagher

    closed

    Hello is possible to change the color of the flare? the light emitted by it is white like it to be blue, it is possible? bindKey("mouse1","down", function ( ) local vehicle = getPedOccupiedVehicle ( localPlayer ) if ( vehicle ) and ( getElementModel( vehicle ) == 411 ) and ( getElementData(localPlayer,'shot') == false ) then local x, y, z = getElementPosition( vehicle ) [color=#BF0000] createProjectile(vehicle,19,x,y,z,500)[/color] setElementData(localPlayer,'shot',true) setTimer( setElementData, 2000, 1, localPlayer, 'shot', false ) end end ) addEventHandler('onClientResourceStart', resourceRoot, function() if getElementData(localPlayer,'shot') == true then setElementData(localPlayer,'shot',false) end end )
  9. the command is disabled, but after 10 seconds the command is not enabled! anyway thanks for listening!
  10. the command is disabled, but after 10 seconds the command is not enabled! anyway thanks for listening!
  11. Hello! I would like all players to execute the animation when I type / fun. what should I put in place the source? thank you! [list]function fun() setPedRotation(ped1, 315) setPedAnimation( [color=#BF0000]source[/color], "ped", "WOMAN_walknorm") end addCommandHandler("makemyped", fun)[/list]
  12. so is right? function v1p ( source ) outputChatBox ( "Want to be VIP? add skype Load31", source, 0, 250, 150, false, false ) outputChatBox ( "VIPs can not abuse their extra skills", source, 0, 250, 150, false, false ) playSoundFrontEnd ( source, 5 ) SetTimer ( "DestroyElement" , 10000, 1, v1p ) end addCommandHandler("vip", v1p)
  13. Hello all right? I have a problem, I made a simple script to give information to the players on my server vip. More players are flooding the server with the /vip command. how do I fix this? how can i put a timer so that the command can be executed only after 1 minute? Or only once per spawn? thanks for attention! function v1p ( source ) outputChatBox ( "Want to be VIP? add skype Load31", source, 0, 250, 150, false, false ) outputChatBox ( "VIPs can not abuse their extra skills", source, 0, 250, 150, false, false ) playSoundFrontEnd ( source, 5 ) end addCommandHandler("vip", v1p)
  14. Can you help me? I made this script, but GetElement not work. digit I / milk and the message should appear, there goes 5 sec and the message that says that you won milk, but milk is not going to inventory. I suspect the error is in "source" Can you help me? It's a script for dayz! Can you help me?
×
×
  • Create New...