Jump to content

blehmeh

Members
  • Posts

    47
  • Joined

  • Last visited

About blehmeh

  • Birthday 28/12/1996

blehmeh's Achievements

Rat

Rat (9/54)

0

Reputation

  1. Maybe by specifying a rule that they need to release it open source? So, they mostly won't have a script that they're willing to release and haven't so far.
  2. What I originally meant: local string = "1" local number = tonumber(string) + 1 print (number) --outputs 2 After using fromJSON, you can then loop through the returned table to find numeric values.
  3. blehmeh

    Slothbot

    Should be lower-case: exports [ "slothbot" ]:spawnBot ( x, y, z, 90, math.random ( 300, 303 ), 0, 0, Team, 38,"mode", bol )
  4. if (string.find(message,"@warnings")) and not (string.find(message," @warnings")) then This line doesn't make any sense, you're checking the string contains @warnings and if the string doesn't doesn't contain @warnings. local W_Number = loadNumberData (source) Is loadNumberData function defined?
  5. if (string.find(message,"@warnings")) and not (string.find(message," @warnings")) then This line doesn't make any sense, you're checking the string contains @warnings and if the string doesn't doesn't contain @warnings. local W_Number = loadNumberData (source) Is loadNumberData function defined?
  6. blehmeh

    Slothbot

    There's a function called spawnBot, you should use it to spawn bots. exports.slothbot:spawnBot(arguments...)
  7. What do you mean by position? Be more specific.
  8. After using fromJSON, you can use tonumber to get the numeric value of a string.
  9. You have to make a new script for the competition.
  10. Why a shader? A simple dx text with custom font will do.
  11. Did you install the sockets module first? Did you install the irc resource? Did you add outputIRC to the resource?
  12. How is that possible without the script? If you want help, you'll have to post the script.
  13. Then you need to learn SQLite or/and MySQL. Queries can be fairly similar, but they're different. dbConnect dbQuery dbExec dbPoll dbFree
  14. Maybe this is what you seek: https://wiki.multitheftauto.com/wiki/Resource:Irc
  15. It's both, MySQL and SQLite.
×
×
  • Create New...