Jump to content

manawydan

Members
  • Posts

    980
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by manawydan

  1. try function crack(player) if (not isPedInVehicle(player)) then outputChatBox("you're jump height has been set to double.",player,0,255,0) setTimer( function () setPedGravity ( source, 50 ) outputChatBox("The crack time has ended.",source,255,255,0) end ,5000,1) else outputChatBox("You cannot use crack in a vehicle.",player,255,0,0) end end addCommandHandler("crack",crack)
  2. manawydan

    bar exp

    the text is not displayed
  3. manawydan

    bar exp

    local x,y = guiGetScreenSize() function drawbar(thePlayer) local level = exports.exp_system:getPlayerLevel ( thePlayer ) local Name, Expreq = exports.exp_system:getLevelData ( level ) dxDrawRectangle ( x/4.59, y/100, x/2.2, y/12, tocolor ( 0, 0, 150, 150 ) ) dxDrawText ( "Exp: Name, Expreq ", x/4.59, y/95, x, y, tocolor ( 0, 222, 10, 255 ), 1, "bankgothic" ) end addEventHandler("onClientRender", root, drawbar) the exp not appear
  4. bem, estou tentado criar uma barra de exp zombie( exportando funções do recurso "exp_system"). minha duvida é dxDrawRectangle ou guiCreateProgressBar qual é o melhor pra usar? desde já agradeço!
  5. thank you
  6. function nemesisuca(attacker) if (getElementData(attacker, "nemesis")) then local x,y,z = getElementPosition(getLocalPlayer()) createProjectile(nemesi(),19,x,y,z,500) end end addEventHandler("onClientPedWeaponFire", nemesisuca) the projectile no creat
  7. use lua tag
  8. good work
  9. thank you very much
  10. manawydan

    inventory

    I want to know how to create the resource groups "heroinventory", and adds a player to that group. small example. thank you!
  11. it is possible to attach a sword on fire? or other weapon?
  12. thank you very much
  13. how to cancel damage by explosion? thank you
  14. how to create groups? An example please
  15. thank you
  16. how to destroy the blip (onZombieWasted)?
  17. timer?
  18. 3NAD work thank you Solidsnake14 thank you boro thank you psydomin thank you
  19. "Element type: player" whats source player?
  20. I press "i", but there is no gui.
  21. no blip, no erros.
  22. the message usually appears
  23. not
  24. yes
×
×
  • Create New...