Jump to content

Anubhav

Members
  • Posts

    2,277
  • Joined

  • Last visited

Everything posted by Anubhav

  1. Position x, y, z = ? Tell us the X Y Z of that position!
  2. tim = nil timerKilled = false function Handler() if timerKilled then return end for index, value in ipairs( getElementsByType("player") ) do if getPlayerMoney( value ) >= 3000000 then triggerClientEvent ( value, "reward5" , value ); outputDebugString ( "works@server" ); triggerClientEvent ( value, "show5" , value ); if killTimer ( tim ) then timerKilled = true else timerKilled = true end elseif (not isTimer(tim)) then timerStart() elseif (isTimer(tim)) then resetTimer( tim ) timerKilled = false end end end function timerStart() timerKilled = false tim = setTimer ( function() Handler() end, 10000, 0 ) end addEvent( "reward55", true ) addEventHandler( "reward55", root, timerStart )
  3. Dide, it won't work.You need to change the px and py and pz to your thing! !!
  4. setTimer (function() if ( guiGetVisible ( mis5 ) == false ) then guiSetVisible (claim5, false) outputDebugString ( "works@false" ) else triggerServerEvent ( "reward55", localPlayer ) outputDebugString ( "works@" ) end end, 1000, 0 )
  5. function outputLocalPlayerPosition ( ) local px, py, pz = getElementPosition ( getLocalPlayer ( ) ) end setTimer (function() local x, y, z = getElementPosition ( getLocalPlayer ( ) ) if ( x == px and y == py and z == pz ) then guiSetVisible ( wind, true ) end end, 3600000, 0 )
  6. addEvent("Silenced", true) addEventHandler("Silenced",root, function() local zombiekills = tonumber(getElementData(source,"Zombie kills")) if (zombiekills >= 150) then local PlayerMoney = getPlayerMoney(source) if ( PlayerMoney >= 300) then takePlayerMoney(source,300) giveWeapon ( source , 23,60 ) else outputChatBox ( "Bu silahi alamassınız çünkü levelniz yetmiyor.", source, 255, 0, 0 ) end end end )
  7. Anubhav

    The last reply

    ndnddbnr
  8. Anubhav

    The last reply

    yes
  9. Anubhav

    The last reply

    lol
  10. Anubhav

    The last reply

    lol
  11. Anubhav

    The last reply

    OKI
  12. Anubhav

    The last reply

    OKI
  13. function extrah( source ) if (source == "zombie") then if getElementModel ( source ) == 162 then exports.extrahealth:setElementExtraHealth(source, 500) end end end addEvent ( "onZombieSpawn", true ) addEventHandler("onZombieSpawn", getRootElement(), extrah)
  14. function extrah( source ) if (source == "zombie") then if getElementModel ( source ) == 162 then exports.extrahealth:setElementExtraHealth(source, 500) end end end addEvent ( "onZombieSpawn", true ) addEventHandler("onZombieSpawn", getRootElement(), extrah)
  15. please check Server.lua file, maybe Server.lua is a lowercase, check thoroughly Are you an idiot? The whole resource wouldn't even load if that was the case. EDIT: The fix. You made wrote the second argument source in addEventHandler. function Handler() for index, value in ipairs( getElementsByType("player") ) do if getPlayerMoney( value ) >= 3000000 then triggerClientEvent ( value, "reward5" , value ); outputDebugString ( "works@server" ); triggerClientEvent ( value, "show5" , value ); killTimer ( tim ) else resetTimer(tim) end end end function timerStart() tim = setTimer ( function() Handler() end, 10000, 0 ) end addEvent( "reward55", true ) addEventHandler( "reward55", root, timerStart )
  16. please check Server.lua file, maybe Server.lua is a lowercase, check thoroughly Are you an idiot? The whole resource wouldn't even load if that was the case. EDIT: The fix. You made wrote the second argument source in addEventHandler. function Handler() for index, value in ipairs( getElementsByType("player") ) do if getPlayerMoney( value ) >= 3000000 then triggerClientEvent ( value, "reward5" , value ); outputDebugString ( "works@server" ); triggerClientEvent ( value, "show5" , value ); killTimer ( tim ) else resetTimer(tim) end end end function timerStart() tim = setTimer ( function() Handler() end, 10000, 0 ) end addEvent( "reward55", true ) addEventHandler( "reward55", root, timerStart )
  17. setElementData to tell if he is on car glued?
  18. setElementData to tell if he is on car glued?
  19. When you use attachElements use setElementFrozen then when you use detachElements you simply setElementFrozen a bit 2-3 seconds later and you wont fall? You can make it like you are frozen on vehicle after detach
  20. When you use attachElements use setElementFrozen then when you use detachElements you simply setElementFrozen a bit 2-3 seconds later and you wont fall? You can make it like you are frozen on vehicle after detach
  21. Anubhav

    Help?

    Message me on skype, I can give you a full explanation on it. anubhav.agarwal87
  22. Anubhav

    Help?

    Message me on skype, I can give you a full explanation on it. anubhav.agarwal87
  23. Anubhav

    The last reply

    biscuits, good heavens, PLEASE read the whole topic. You guyz have no idea what replies are you giving. sometime later, you reliazed you got fooled
  24. Anubhav

    The last reply

    biscuits, good heavens, PLEASE read the whole topic. You guyz have no idea what replies are you giving. sometime later, you reliazed you got fooled
×
×
  • Create New...