Jump to content

dzek (varez)

Retired Staff
  • Posts

    4,144
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by dzek (varez)

  1. uhm, doing a project, i want to have a new job, and they are testing me.. its boring too.. i get up so damn early today, and was working hard (psychically) today - so im all used up..
  2. false positive. every mta are injecting/modifying GTA memory - antiviruses often don't like it.
  3. most ppl will be too lazy - but decompiling is as easy as compiling.. but - compiling rips off all comments, custom functions name and variable names (they are random after decompile) - this makes hard to read & edit your scripts.
  4. yup, but they can be decompiled. idk where was link to some gui complier and ive got only this: http://upload.dzek.metal.info/pliki/Lua.rar i'm using it to compile my scripts. Extract this to C:\Lua (this is important!), then copy your script into that folder, drag and drop that file on compile.bat file, luac.out will be created - this is your compiled version.
  5. dzek (varez)

    Please help me!

    disable your firewall. logging in is disabled - no need to login.
  6. animations will be available in 1.1 version,,
  7. https://community.multitheftauto.com/?p=resources ... ls&id=1258 https://community.multitheftauto.com/?p=resources ... ls&id=1257 https://community.multitheftauto.com/?p=resources ... ls&id=1256 https://community.multitheftauto.com/?p=resources ... ls&id=1255
  8. Looks like game-monitor temporary problem. You can add it manually to game-monitor (it needs to be done only once).
  9. https://community.multitheftauto.com/index.php?p= ... ls&id=1259
  10. if somebody will be interested - he/she will join. asking and begging won't help.
  11. you want cars to be undamageable (damage proof)?
  12. search youtube-there was at least one movie about editing txd's
  13. you can do the same from admin panel
  14. what? I can't understand what you mean..
  15. i can buy with $499 with this.. result = having $-1 btw: this is weird too.. why can't you just use the most proper way (the one i gave you?) - it's logical - you can't pickup (cancelEvent) if you dont have the money, not "you will get ammo and it will be immediately taken from you if you dont have the money"..
  16. btw: there was some default mta resource with money drop, isn't it?
  17. that's why you have used giveWeapon.. weird way
  18. He can't script (yet?) - so this is useless for him unfortunately
  19. TAKE your defaults from gta3.img EDIT them REPLACE them in MTA (with wiki, or my site) NOT gta3.img gta3.img stays untouched
  20. wrong local aPickup = createPickup (420.14,-2537.42,32.30, 2, 24, 3000, 0 ) function pickedUpWeaponCheck ( player ) local money = getPlayerMoney(player) -- is getPlayerMoney not getElementMoney if (money > 499) then outputChatBox ( "You have picked up a Deagle for $500", player ) --Display this message in the chat box giveWeapon ( player, 24, 50 ) end end addEventHandler ( "onPickupHit", aPickup, pickedUpWeaponCheck ) but the coneption is wrong! this will give you weapon when you pick it up already! so just cancel availability of picking it up if player have < 500! and your indentation = randomness! local aPickup = createPickup (420.14,-2537.42,32.30, 2, 24, 3000, 0 ) addEventHandler("onPickupHit", aPickup, function(player) local money = getPlayerMoney(player) if (money<500) then cancelEvent() return false end -- cancel pickup picking up (cancelEvent) and stop the function (return false) if player dont have any money -- this will be done when player have enough money outputChatBox("You have picked up a Deagle for $500", player) takePlayerMoney(player, 500) -- you forgot to take money from player before!! -- no need to give weapon - pickup is already doing this when picked up end)
  21. mta supports only replacing ped TEXTURES (txd files) - NOT models. this means you need to find texture that matches one of default models! this is rather rare thing on the internet. you can do one by yourself. for vehicles - both models and textures are supported (but not collision model unfortunately ) - you can find much on google: http://www.google.com/search?client=ope ... 8&oe=utf-8 to replace peds and vehicles you can use my mta model replacement generator
×
×
  • Create New...