#Thug

Members
  • Content Count

    26
  • Joined

  • Last visited

Community Reputation

0 Neutral

2 Followers

About #Thug

  • Rank
    Advanced Member

Details

  • Gang
    kill enemy

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. #Thug

    Armor and object

    if you use the resource bone_attach: elementVest = {} function getArmour() local amour = getPlayerArmor(source) if amour > 0 then x,y,z = getElementPosition(source) if not isElement(elementVest[source]) then exports.bone_attach:detachElementFromBone(elementVest[source]) destroyElement(elementVest[source]) elementVest[source] = false end elementVest[source] = createObject(1598,x,y,z) exports.bone_attach:attachElementToBone(elementVest[source],source,3,0,0.02,-0.53,-3,0,90,1) else if elementVest[source] and isElement(elementVest[source]) then exports.bone_attach:detachElementFromBone(elementVest[source]) destroyElement(elementVest[source]) elementVest[source] = false end end end setTimer(getArmour,1500,source) instead of SetTimer could use: addEventHandler("onPlayerDamage",getRootElement(),getArmour)
  2. https://wiki.multitheftauto.com/wiki/Se ... leDistance
  3. https://wiki.multitheftauto.com/wiki/Se ... leDistance
  4. try: addEventHandler("onPlayerCommand",root,function(commandName) if commandName == "bind" or commandName == "unbind" then cancelEvent() end end) server side.
  5. there is nothing that can disable uploading GTA (yet) but the tip that let's you set +1 bullet in the magazine, eg M4 with 31 bullets when it comes to one she does not shoot more, just set up the weapon hud to appear - 1 bullet. sorry my english.
  6. good work I had made a sketch of a gamemode of rust but do not have more time :c http://i.imgur.com/RquDWXd.jpg
  7. how to create a "guiCreateLabel" that moves equal to the MTA ABOUT menu? which function?
  8. what is the font used in the Menu MTA, I know they are images, but what's the name of the font used in it?
  9. how to cancel reload? function cancelReload () cancelEvent() end addEventHandler ( "onPlayerReload", getRootElement(), cancelReload) I tried onPlayReload but there is no onPlayReload function so as to cancel the reload? I wanted to leave the manual reload Sorry my bad english
  10. #Thug

    solved

    solved, thanks.
  11. #Thug

    getElementType

    yes, work with weapons.
  12. #Thug

    getElementType

    solved thanks you is the best