Jump to content

K4stic

Members
  • Posts

    708
  • Joined

  • Last visited

Everything posted by K4stic

  1. K4stic

    DX HUD

    https://wiki.multitheftauto.com/wiki/ConvertNumber
  2. K4stic

    Stack Overflow

    local xmlFile = xmlLoadFile ( xmlFileName ) <= line 2 instead on give it xmlFileName you must add the location of life example xmlLoadFile ( "FileName.xml" )
  3. if you wont secure your scripts then you must don't care about it it's simple and easy if you want a secure just use the MTAsa Compiler
  4. i recomment Vortex Servers For me is the Best Hosting Company till now and can't find better and believe i search
  5. Health = tonumber (Health) / 100 * 100 <= realy? :3 why even need /100 * 100 lol just useless stuff
  6. Awesome Site! They just saying: This Account Has Been Suspended
  7. @Tails Next Time just read full Topic
  8. Not complete there is one at line 42 too. gghvc: replace thePlayer by source on line 42: givePlayerMoney ( thePlayer, 1700 ) and 54: givePlayerMoney ( thePlayer, 1700 ) and stop copying and pasting without knowing what you are actually doing. Sorry i just find a line of the bug and solve it My Mistake that i wasen't see and others. Also it Bad Coded you can reduse lot of lines there
  9. just replace lines 51-59 with this function arma22 ( hitElement1 ) if ( getPlayerMoney(source) >= 2000 ) then takePlayerMoney ( source, 2000 ) givePlayerMoney ( source, 1700 ) giveWeapon ( source, 30, 100 ) end end addEvent( "onGreetinC", true ) addEventHandler( "onGreetinC", root, arma22 )
  10. Smart wont work or update this script anymore he just upload it at 20 Nov 2012 and over no updates or anythink else
  11. easy replace the code that you have of function getAliveGuys ( mode ) with mine that i post after quote
  12. function getAliveGuys ( mode ) if not mode then return end pAlive = { }; if mode == 1 then for _, player in ipairs ( getElementsByType ( "player" ) ) do if ( getElementData ( player, "state" ) == "alive" ) then table.insert ( pAlive, player ); end end return pAlive; elseif mode == 2 then return #pAlive; elseif mode == 3 then if pAlive then pAlive = nil; end return false end end by logic the table must be up i mean before asked if mode == blabla as all modes use that table
  13. Good Job. I like This Map. Good Record and the map
  14. Map are Awesome Bro but Video And Music Quility are bad
  15. K4stic

    ranks icon

    onClientRender not To Static Image :3 but to check if got Promote and etc
  16. K4stic

    ranks icon

    use: [url=https://wiki.multitheftauto.com/wiki/GuiCreateStaticImage]https://wiki.multitheftauto.com/wiki/Gu ... taticImage[/url] [url=https://wiki.multitheftauto.com/wiki/OnClientRender]https://wiki.multitheftauto.com/wiki/OnClientRender[/url]
  17. K4stic

    Hamachi server :(

    This isn't the Correct Section any Staff/Admin Move this please
  18. I recommend Vortex Servers, because they cheap giving a Good Security[ about DDoS and etc], Server no lag and Everythink is Berfect P.S Lag that you getting from server it's your fault because of Big Distance from Server that locating the player for example if you Host a server in United Kindom just all American will have little slow speed but Players in Europe will have Good speed
  19. i Think he mean nightly => https://nightly.multitheftauto.com/
  20. just an server with 32 slots get 50+ and lower than 128 MB of Ram
×
×
  • Create New...