Jump to content

Castillo

Retired Staff
  • Posts

    21,935
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Castillo

  1. Editing it for what? that function is used to set the firing rate of a weapon created by createWeapon function.
  2. Well, they are meant to be used when you require them for whatever you are trying to achieve.
  3. what do you mean by "where do I put that"? that's a function to be used on a script.
  4. The problem is already solved, bandi.
  5. You're welcome then.
  6. Ah, so it works now?
  7. Castillo

    Help script

    addEvent ( "onPlayerPickUpRacePickup", true ) addEventHandler ( "onPlayerPickUpRacePickup", root, function ( number, sort, model ) if ( sort == "vehiclechange" ) then if ( model == 425 ) then outputChatBox ( getPlayerName ( source ).." #FFFFFFPegou Hunter", root, 255, 255, 255, true ) theTimer = setTimer ( killPed, 60000, 1, root ) end end end ) addEvent ( "onMapStarting", true ) addEventHandler ( "onMapStarting", root, function ( ) if isTimer ( theTimer ) then killTimer ( theTimer ) end end )
  8. setPedStat es para que puedas llevar dos armas y correr mientras apuntas ( con algunas nada mas ) .
  9. Loop all players, check their health, if is lower than 20%, set the animation.
  10. Castillo

    Help script

    You mean the next map starts before they get killed?
  11. What do you mean by "Thank you"? I told you to do something.
  12. No need for loops. local aButtons = { [ GUIEditor.button[1] ] = true, [ GUIEditor.button[2] ] = true, [ GUIEditor.button[3] ] = true, [ GUIEditor.button[4] ] = true, [ GUIEditor.button[5] ] = true, [ GUIEditor.button[6] ] = true } addEventHandler ( 'onClientGUIClick',root, function ( ) if ( aButtons [ source ] ) then if ( getElementData ( source,'AntiButtonFlood' ) == true ) then return outputChatBox ( 'Wait 1 Minute!!' ) end setElementData ( source,'AntiButtonFlood', true ) setTimer ( setElementData, 60000, 1, source, 'AntiButtonFlood', false ) end end )
  13. I don't understand what you mean.
  14. Post the command: "abcd1234".
  15. Maybe you should start by something easier then.
  16. Castillo

    Help script

    I really don't understand what you said, could you try to explain it?
  17. Eso es insultante, yo tampoco naci sabiendo, yo estoy scripteando desde hace mas de 3 años y no lo se todo.
  18. setWeaponProperty es global, no se puede usar para un solo jugador.
  19. Just execute it for that player only?
  20. I don't understand what you mean.
  21. Isn't this valhalla gaming script?
  22. Castillo

    Como se usa?

    http://lua-users.org/wiki/IoLibraryTutorial
  23. It has nothing to do with that, the TXD doesn't has the textures it should have.
  24. + guiSetEnabled Not required. @ice_brasil: Why are you so lazy? viewtopic.php?f=91&t=60974
  25. You can use a timer or getTickCount, search the forum, I helped another person with the same issue.
×
×
  • Create New...