John Smith

Members
  • Content count

    660
  • Joined

  • Last visited

  • Days Won

    1

John Smith last won the day on February 14

John Smith had the most liked content!

Community Reputation

30 Good

About John Smith

  • Rank
    Crime Partner

Details

  • Gang
    None
  • Occupation
    Scripter
  • Interests
    Scripting

Recent Profile Visitors

848 profile views
  1. dbQuery - why not use local function?

    Probably because callback functions aren't called instantly, rather it waits for result, and after your function finishes that code, everything that was declared local inside of that function will be erased from memory automatically, thus making your local callback function non-existant and so you'll never recieve result from dbQuery
  2. Well, that's just disappointing
  3. But why was this abandoned?
  4. client script are hidden

    Scripts are relatively in very small sizes of just few kilobytes, and even if you had lots of resources with lots of scripts, it would probably never exceed 1 MB of download, and for normal users it never really exceeds 200 kb. If someone has a problem downloading this small amount of kilobytes, then they shouldn't even use the internet at all.
  5. How i can get one data from table?

    sample[1][2]
  6. clipboard text

    You can't due to privacy reasons.
  7. What can i do if someone stole/hack my server?

    Usually people get a globan ban if they were using hacking software or something serious, but if you gave someone an admin and he destroyed it, i'm afraid then it's your fault. Same for the scripts. If you really think that someone actually hacked admin system in your server, and you think your scripts are not to blame for that, then you can contact @ccw, but make sure that you have proof for that and it would be good to know or at least have a theory how someone did the hacks. I'll just write down script security measures which i recommend , just in case: Use luac.mtasa.com on your scripts with maximum encrpytion (obfuscation). And in meta.xml in your resources make sure that client scripts which look like: <script src="client.lua" type="client" /> Change them into this: <script src="client.lua" type="client" cache="false" /> Setting cache to false will make sure that players who play your server don't have any client scripts downloaded on their PC, but instead it's run inside their RAM. With script security you can never be 100% safe, but you can make it harder for people to steal it by doing these methods which I've mentioned. Also, be careful who you give admin access too, it can be dangerous. However, if you give someone FTP access to your server, and they abuse it, then they can basically do anything, steal/delete anything.
  8. [REL] Hex-colored nametags (physical - above head..)

    The resource had an update, in case you guys are using this resource, update it to newer version as it fixes some issues like bug with nametags not being shown correctly on players in vehicles and the newer code has various optimizations to prevent client lag when run with too many players. Also the code has been tidied up a bit, got rid of some forgotten leftovers.
  9. [HELP]Team Spawn

    Hello. It would help us to help with your issue, if you would put that code in a code box which this text editor on this forum offers, you click on it, and it looks like < > It's easier to look the code when it's inside that code box as it makes it look better to diagnose. Also, use /debugscript 3 and tell us if you have any errors there when you start the resource. (/debugscript 3 info is also essential in helping us to help you with your problem when asking about script fixes)
  10. [REL] Hex-colored nametags (physical - above head..)

    No, it just converts colorcodes from nicknames to their colors, if you want to edit nametag's alpha, you'll have to edit it by yourself.
  11. [REL] Hex-colored nametags (physical - above head..)

    @Uknown. What do you mean? I don't understand you.
  12. Pitanje

    ma znamo ju svi, sada ima ovaj username @xeon17
  13. Who is the true owner of [F.F]

    what is F.F