Jump to content

freakk

Members
  • Content Count

    10
  • Joined

  • Last visited

Community Reputation

0 Neutral

About freakk

  • Rank
    Member

Details

  • Gang
    yonys
  1. freakk

    fuel gui

    tanx now a ultimate problem when the player haven't money the fuel is refilled and the money becomes negative. How to cancel it?
  2. freakk

    fuel gui

    guiSetVisible(WindowP, false) it works but not the button "buy fuel"
  3. freakk

    fuel gui

    hello I tried to create a button to the fuel system because the real system load standing in the marker fuel p1 = createMarker (1878.9757080078,1811.5299072266,12.743692398071, "cylinder", 5, 0, 255, 0, 100) WindowP = guiCreateWindow(150, 300, 300, 200, "Gas", false ) ButtonP2 = guiCreateButton(25,50,250,50,"Buy Fuel",false,WindowP) ButtonP1 = guiCreateButton(25,150,250,50,"Accept",false,WindowP) function closePaysapray() guiSetVisible(WindowP, false) showCursor(false) end function onEnterPns (player) if pla
  4. freakk

    fire

    Ok. you're fantastic man. THANK U VERY MUCH!
  5. freakk

    fire

    addEventHandler ( "onClientPedDamage", root, function ( attacker, weapon, bodypart, damage ) local skin = getElementModel ( source ) if ( skin == 68 and isPedOnFire ( source ) ) then cancelEvent ( ) end end ) this does not work solid
  6. freakk

    fire

    addEventHandler("onClientPedDamage", root, cancelEvent) didn't works
  7. freakk

    fire

    yes!!! this works! thank you very much!! Now one last question please: i have a problem with the zombies onfire...these die alone. but i try this: addEventHandler("onClientPedDamage",root,function(attacker,weapon,bodypart,damage) local skin = getElementModel(source) if skin == 68 and weapon == 37 then cancelEvent() end end) and this: function stopDamage( thePed, attacker, weapon, bodypart) if ( getElementModel ( source ) == 92 = 37 ) cancelEvent() end not works tell me what is wrong please
  8. freakk

    fire

    don't works appear this in console: error zombie\zombie_server.lua:703:unexpected symbol near ´,´
  9. freakk

    fire

    No, you don't understand me. I want to set fire the zombies. But the fire is not extinguished.
  10. freakk

    fire

    Hello i want to know if anyone can help me set fire to zombies unlimited because the fire is extinguished I can not and nobody could help addEvent("onZombieCreated",true) addEventHandler("onZombieCreated",root, function () if (getElementModel (source) == 68) then setPedOnFire(source, true) SetTimer(setPedOnFire,1000, 0) end end)
×
×
  • Create New...