Jump to content

Baseplate

Members
  • Posts

    1,417
  • Joined

  • Last visited

Everything posted by Baseplate

  1. setTimer(function() for index, players in pairs(getElementsByType("player")) do local x, y, z = getElementPosition(players) setElementData(players, "Money", "$"..getPlayerMoney(players)) setElementData(players, "City", ""..getZoneName(x, y, z, true).."") end end, 1000, 0)
  2. Baseplate

    AFK script

    You need to put 4 args at setElementPosition, you specified 2 only. That's first, second, no need for that "localPlayer" at first line, just delete it.
  3. I think putting client.lua first before the server.lua in the meta.xml can solve the problem
  4. You sure you've added the client file as "client" on meta?
  5. Baseplate

    Questions.

    XML can do the trick aswell.
  6. Baseplate

    Questions.

    What happens if 2 teams got the same color? then shit would be fucked up mate, I suggest saving it to SQLite/MySQL and use element data.
  7. Baseplate

    Ground

    I got it now, thanks everyone.
  8. Baseplate

    Ground

    If you are flying in the air, I want to get the difference between the ground's Z position and my Z position, any possible way to do it?
  9. Because the "ID" column is empty, did you insert any data in it?
  10. Great fucking 1-2 years bump.
  11. Baseplate

    Help SQL

    Can you copy the table creation syntax?
  12. zeyed, chta3mlel compte ma3andek mata3mel bih, 3andek wa7ed el barra tnajem tsallek rou7ek mais fi tunisie, to93ed hakeka mkattef idik.
  13. I'm in the competition, get out of here both of you.
  14. Wrong, it stores the data at registry.db. You can use account data, MySQL or SQLite. I'll use SQLite for this as it isn't real big data.
  15. Using element data with functions specified by PaiN^ can help you out.
  16. If you understand English, I said I'll open my local server and show you my scripts, and now I'm not home means I don't have my scripts, I'll be on my PC at 30/12.
  17. Like zombies resource, there are some custom events (for example onZombieSpawn) How is it possible to create your own custon event?
  18. He just adds me on skype, I'll open my local server, he joins and see how they work, then we'll see what will happen later.
  19. Got any idea how to use soundcloud? I mean same way or?
  20. I don't check regularily community myself, but I doubt that.
  21. Nah, XML for such number of vehicles will make your server lags as fuck. Check out w3schools.com
  22. Check out the wiki, got good examples over there.
×
×
  • Create New...