Jump to content

-Doc-

Members
  • Posts

    300
  • Joined

  • Last visited

Everything posted by -Doc-

  1. https://community.multitheftauto.com/index.php?p=resources&s=details&id=13919 https://community.multitheftauto.com/index.php?p=resources&s=details&id=13923 https://community.multitheftauto.com/index.php?p=resources&s=details&id=13920 Stolen from Grafuroam. No, 'not like groam at all' pls...grow up already. 'I scripted' Ye sure you did. Even Oussez didn't make them.
  2. -Doc-

    Money Hud

    function HudMoney() local cash = getPlayerMoney(getLocalPlayer()) money = "$"..convertNumber(cash) dxDrawText("$"..money.."", 1455, 53, 1478, 86, tocolor(255, 255, 255, 255), 1.50, "pricedown", "left", "top", false, false, false, false, false) end function convertNumber ( number ) local formatted = number while true do formatted, k = string.gsub(formatted, "^(-?%d+)(%d%d%d)", "%1.%2") if ( k==0 ) then break end end return formatted end
  3. Why you deleting whole script. Someone can get help from this topic
  4. How to change texture color?
  5. The data weren't set tried with outpuChatBox and nothing
  6. Hey i've made this script and i want to set element data to receiver and the sender and after 7 seconds remove data. Here's the code.
  7. -Doc-

    Hydra timer

    Hey, i made this script which toggles vehicle_fire when a projectile created and then restores it using timer but doesn't work. timer = {} addEventHandler("onClientProjectileCreation", localPlayer, function() if getElementModel(getPedOccupiedVehicle(getLocalPlayer())) == 520 then setElementData(localPlayer, "anti repeater", true); if ( getElementData(localPlayer, "anti repeater") == true ) then toggleControl("vehicle_fire", false); timer[source] = setTimer( function() toggleControl("vehicle_fire", true); setElementData(localPlayer, "anti repeater", false); end, 5000, 1 ) end end end)
  8. -Doc-

    setElementData

    Nooo, you misunderstood i wanna to hide the nametag when chat bubble exists, look at my problem when 2 bubbles and one dissapears, one remaining and the name tag is back. How to fix?
  9. -Doc-

    setElementData

    Tried, not working Video test
  10. -Doc-

    Timer won't work

    And how to get resource ram usage, because i have many resources and don't now which one makes server lag.
  11. Why the timer check doesn't work?
  12. -Doc-

    guiSetProperty

    How to set r,g,b color to guiCreateStaticImage using guiSetProperty?
  13. Is it possible the get the death reason of a random wasted guy? Like rammed, exploded, and etc I saw death reasons, But currently i'm making some edits on Killmessages scripts, It doesn't detect when a wasted guy got rammed or killed by a jet (hydra) it just outputs the weapon icon that he selected from freeroam panel, Thanks
×
×
  • Create New...