Jump to content

healLV

Members
  • Posts

    14
  • Joined

  • Last visited

Recent Profile Visitors

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

healLV's Achievements

Square

Square (6/54)

2

Reputation

  1. I was wondering why is it that I cannot run HxD alongside MTA. I find it annoying since I was using it for other stuff than MTA and when I want to play MTA I just have to close it and reopen again later.
  2. oh lol how stupid I am. I should have checked things after copying. Well thanks for spotting it for me ;D -TC
  3. Hello. So I have this problem: I bind arrow keys to 4 different function but only one appear to be working and only adds to y. What am I doing wrong? local screenWidth,screenHeight = guiGetScreenSize() local y = 150 local x = 8 function replace() local playerWeapon = getPedWeapon(localPlayer) if playerWeapon == 30 or playerWeapon == 31 then if getControlState("aim_weapon") then dxDrawImage ( screenWidth/2 + x, screenHeight/2 - y, 100, 100, "crosshair.png") end end end addEventHandler("onClientRender", root, replace) function hminus() y = y - 1 end function hplus() y = y + 1 end function wminus() x = x - 1 end function wplus() x = x + 1 end function outputchatbox() outputChatBox("elseif screenWidth == "..x.." and screenHeight == "..y.." then") end function bindkey() bindKey("arrow_d", "down", hminus) bindKey("arrow_u", "down", hminus) bindKey("arrow_l", "down", hminus) bindKey("arrow_r", "down", hminus) bindKey("m", "down", outputchatbox) end addEventHandler("onClientResourceStart", root, bindkey)
  4. sorry DUP delete
  5. Hello guys. I have a question about difference between using shader like texreplace and using engineImportTXD for replacing textures. Whats the main difference? Do they have somekind perfomance differences?
  6. Two solutions: 1: Reinstall MTA Script Editor (MTASE) and make sure you specify the correct Multi Theft Auto: San Andreas folder and the correct Multi Theft Auto: San Andreas server folder the installation wizzard will ask you. 2: open the registry of your computer and look for the Multi Theft Auto: Script Editor key. I'm on a 64bit operating system so the path to the key is: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Multi Theft Auto: Script Editor (on 32bits, the key might be located at: HKEY_LOCAL_MACHINE\SOFTWARE\Multi Theft Auto: Script Editor) You should see something similar to this: Just modify the MTAClientDir and MTAServerDir to match your current MTA installation. And as you can see, I'm using the MTA San Andreas 1.5 with MTASE and it works. Note: You should not trust others about downloading a custom/fixed version of MTASE like MihăiţÂ did because there is no need to ! (specially if they do not provide a virustotal scan ...) Thanks it worked. And btw if anyone else says it doesn`t work install MTA:SA 1.3 from http://www.moddb.com/mods/multi-theft-a ... andreas-13 and then install MTA script editor. Hope it helps!
  7. So my problem is that i dont know why getElementData doesn`t accept string as name. Am I supposed to define it? function gzkill(player, cmd, name, ammount) local ammount = tonumber(ammount) lpkills = getElementData(player, "zombieskilled") pkills = getElementData(name, "zombieskilled") akills = pkills + ammount rkills = lpkills - ammount local truename = getPlayerName(name) if truename == name then setElementData(name, "zombieskilled", akills) setElementData(player, "zombieskilled", rkills) outputChatBox("Sucessfully added!", getRootElement, 255, 255, 255, false) else outputChatBox("Wrong name!", getRootElement, 255, 255, 255, false) end end addCommandHandler("idz", gzkill) --restricted I ran command /idz healLV 10. And got this: WARNING: zkillgive\main.lua:4: Bad argument @ 'getElementData' [Expected element at argument 1, got string 'healLV'] ERROR: zkillgive\main.lua:5: attempt to perform arithmetic on global 'pkills' (a boolean value)
  8. Well I can`t add settings. They just dissapear. Thats why i asked for config.ini . Btw how you installed it? Because I extracted installer and I`m using those files.
  9. Hey can you please give me your config.ini? Because program isnt adding settings and i cant add those values into it anyways
×
×
  • Create New...