Jump to content

xXMADEXx

Members
  • Posts

    2,718
  • Joined

  • Last visited

Everything posted by xXMADEXx

  1. Load the TXD first. Then the DFF in the script.
  2. + guiSetEnabled
  3. They're prob like 13 year old boys, call they're mommies
  4. Vortex Servers is a pretty good host. I used to have a server with them, they're really good, fast, and cheap.
  5. I also think you should make a server with mixed modes, kinda like FFS.
  6. ... Give whole code.
  7. xXMADEXx

    Amount of ammo

    setWeaponProperty ( int weaponID/string weaponName, string weaponSkill, string property, int/float theValue )
  8. xXMADEXx

    Help me

    MTA wiki only really teaches you how to use the MTA functions... Use this to learn LUA viewtopic.php?f=148&t=40809
  9. Tables start with argument 1, not argument 0. spawnPlayer(playerID, hiddenSpawn[1], hiddenSpawn[2], hiddenSpawn[3], hiddenSpawn[4], 0)
  10. xXMADEXx

    Question

    To get it into the center, this is the equation: local rx, ry = guiGetScreenSize ( ) window = guiCreateWindow ( ( rx / 2 - 500 / 2 ), ( ry / 2 - 250 / 2 ), 500, 250, "My Window", false ) -- Basicly this: divid rx by two, then subtract the width divided by two -- divid ry by two, then subtract the height by two
  11. xXMADEXx

    DayZ Weapons

    I don't really know much about the DayZ script, but I would think you would need to buy the full version to add weapons.
  12. What do you mean? Like, the background?
  13. This is what I use to set the scale: local scale = 2 local dist = getDistanceBetweenPoints3D ( px, py, pz, x, y, z ) scale = scale * ( ( 3- dist ) / 3)
  14. I made it specially like this, so you click on the 'power' button to quit. I like that idea.
  15. Im not sure if it works, but my friend can use: "/spawn [VEHICLE NAME]"
  16. This: addCommandHandler ( "ammo", function ( p ) local account = getAccountName(getPlayerAccount(p)) if(isObjectInACLGroup("user."..account,aclGetGroup("Admin"))) then setWeaponProperty(32, "pro", "maximum_clip_ammo", 1000) end end )
  17. You can use Talidan's custom blip system.
  18. Basicly this; addEventHandler ( "onPlayerLogin", root, function ( ) if ( isPlayerInACL ( source, "Forever" ) ) then spawnPlayer ( source, 5, 00565, 95 ) elseif -- so on end end ) function isPlayerInACL(player,acl) local account = getAccountName(getPlayerAccount(player)) if(isObjectInACLGroup("user."..account,aclGetGroup(acl))) then return true else return false end end
  19. In admin panel, set your dimension to 0
  20. Have you tested the code yet? (Please use [lua ] or when posting a script) Not really sure if this will work, but if it dosn't please post any errors (/debugscript 3) [xml]local textureIn = 0 local textureOut = 1 function setTexture( key ) if key == "0" then if textureOut == 0 then -- ( Gear Down ) -- textureOut = 1 textureIn = 0 engineReplaceModel ( engineLoadDFF ( "geardown/hunter.dff", 425 ), 425 ) end elseif key == "9" then if textureIn == 0 then -- ( Gear Up ) -- textureIn = 1 textureOut = 0 engineReplaceModel ( engineLoadDFF ( "gearup/hunter.dff", 425 ), 425 ) end end end bindKey( "0", "up", setTexture ) bindKey( "9", "up", setTexture ) [/xml]
  21. Any errors? (By the way, I notice that you're trying to do A LOT of projects at once. I would just recommend to try to keep it down to 1 or 2 at a time, not like 7 or 8.)
  22. Not a request page. Try to make the script, where here to help, but not do it all.
  23. Errors? and addCommandHandler ( "drawtag", drawTag ) -- Change: function drawTag( size, font, colorCode, teamColor, cR, cG, cB ) -- To: function drawTag( player, cmd, size, font, colorCode, teamColor, cR, cG, cB )
  24. I think that your talking about this: https://community.multitheftauto.com/index.php?p= ... ls&id=5614 (With a few edits, it can be made, so it drops when someone dies.)
  25. I cannot understand your english.
×
×
  • Create New...