Jump to content

Pierce

Members
  • Posts

    64
  • Joined

  • Last visited

Details

  • Occupation
    Scripter

Recent Profile Visitors

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

Pierce's Achievements

Snitch

Snitch (10/54)

0

Reputation

  1. Keep in mind guys that my topic was related to silly old hacks like mod_sobeit and such, not hacking entire server and compromising server files.
  2. You don't get it. MTA bans players for using trainers. Meaning that they can't play any server nor they could attempt to join mine because they're banned from "exterior" I just think why can't mta just kick players from servers if they have a trainer(unless the server allows it)? why banning them if perhaps there would be some mad man who'd like to gather all hackers in a server for fun?
  3. if all the hackers simply get banned from all servers, what is the point of having ability to disable hack detection in mtaserver.conf?
  4. Hello. My question is "Why is MTA banning hackers?". It's a nice thing that MTA does it, i understand that there are programs which change serial(or alter something related to mta itself), but what about regular gameplay hacks? why can't those players be kicked by AC detection? I miss times when hackers could enter the server and you'd ban them with joy.
  5. I'd say that most used and useful languages are C++(and other C languages) and Java with basic knowledge of lua, learning those languages won't be so hard but it will take time to learn those languages. you could've actually googled tutorials by yourself but here are some i found useful: C++; http://www.cplusplus.com/doc/tutorial/ http://www.tutorialspoint.com/cplusplus/ http://www.cprogramming.com/tutorial/c++-tutorial.html Java; https://docs.oracle.com/javase/tutorial/ http://www.tutorialspoint.com/java/ http://www.javatpoint.com/java-tutorial There are a lot of tutorials for these languages, just google it.
  6. Not sure what is there to sell in here as there's a pretty similiar code in the forum which can be found, and your script is just a bit better version of that code
  7. any errors?what is your level and experience?
  8. omg no dxDrawText("LV: "..LV.." XP: "..XP.."/"..levelUpTable[LV], sWidth*(400/1280), sHeight*(500/720), sWidth*(621/1280), sHeight*(715/720), tocolor(255, 0, 0, 255), (0.8/720)*sHeight, "bankgothic", "left", "top", false, false, true, true, false)
  9. Please look down at wiki the function dxDrawText or simply click on that red text on this forum and read it's arguments. here is your explained mistake if you read the wiki, you can see that after color argument scale is next which is a number and after scale is font argument which is a string now here is part where you are wrong tocolor(255, 255, 255, 255), (0.8/1280)*sWidth, -> (0.8/720)*sHeight, -- you have that thing on right side instead of "bankgothic", so just delete it and it should draw the text
  10. after tocolor argument in dxDrawText you used twice numbers and it can only go once remove one of those calculations and it will draw the text fine
  11. That's because script is trying to get data [0] from table which doesn't exist. I dont know if tables can have [0] as index because i haven't tried it but you could try to do it otherwise try to set default minimum level to 1 and it will work fine shortly, it's because your level is currently 0 which is not in the table
  12. have you considered using tables? e.g local sw,sh = guiGetScreenSize() levelUpTable = { -- required experience to level up,e.g if someone is level 1 he would need 500 xp to level up [1] = "500", [2] = "1000", [3] = "2000" } -- now draw it function levelRequired() local experience = getElementData(localPlayer,"EXP") local level = getElementData(localPlayer,"LV") dxDrawText("Level "..level.." EXP: "..experience.."/"..levelUpTable[level],sw/2,sh/2,sw,sh,tocolor(255,255,255)) end addEventHandler("onClientRender",root,levelRequired) there are better alternatives how to update level data instead of doing it onClientRender but this would work fine
  13. Pierce

    Exports.

    You got exports explained pretty well in here viewtopic.php?f=148&t=75501
  14. brutus * cough * function blowVehicleOnHit(loss) -- Calculate speed in mph local speedx,speedy,speedz = getElementVelocity(source) -- cough cough cough local actualspeed = (speedx^2 + speedy^2 + speedz^2)^(0.5) local mph = actualspeed*111.847 -- Blow vehicle if mph > 50 then blowVehicle(source) end end addEventHandler("onVehicleDamage", root, blowVehicleOnHit) * cough *
  15. It's My hud stolen from Client Files actually it's an old hud from grafuroam which you stole putting images and changing hud text abit doesn't make stolen hud yours. still that resource is stolen so it should get removed.
×
×
  • Create New...