
blehmeh
Members-
Posts
47 -
Joined
-
Last visited
Everything posted by blehmeh
-
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.
-
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.
-
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?
-
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?
-
What do you mean by position? Be more specific.
-
After using fromJSON, you can use tonumber to get the numeric value of a string.
-
You have to make a new script for the competition.
-
Why a shader? A simple dx text with custom font will do.
-
Did you install the sockets module first? Did you install the irc resource? Did you add outputIRC to the resource?
-
How is that possible without the script? If you want help, you'll have to post the script.
-
Then you need to learn SQLite or/and MySQL. Queries can be fairly similar, but they're different. dbConnect dbQuery dbExec dbPoll dbFree
-
Maybe this is what you seek: https://wiki.multitheftauto.com/wiki/Resource:Irc
-
It's both, MySQL and SQLite.
-
Use the newest functions: dbConnect dbQuery dbPoll dbExec dbFree
-
It shouldn't repeat since the loop argument is false, but I guess your mp3 file isn't just a one "hello". function startMySound() helloSound = playSound( "hello.mp3", false ) setTimer(stopHelloSound, 2000, 1) end addCommandHandler ( "hello", startMySound ) function stopHelloSound() stopSound(helloSound) end
-
"When we get donations" Which won't happen until you release, that if the server succeeds. So you need a long term scripter who basically builds the whole server. Not easy to find someone who's willing to do that.
-
You could lower the maximum number of zombies as well.
-
You'll get nowhere without learning, if you solve this one, you'll get stuck with another. The code loops/repeats the output function so it outputs the line you need to manually repeat several times.
-
This is something that came to my mind some time ago. It's about scripters participating in a competition, where there is a time limit within they should provide a script. Scripts are then showcased, and a poll is opened to vote on the best script. I haven't came up with a prize more than just the pride of winning against other scripters. Scripts has to be released open source, probably on the community, possibly with a video to properly showcase it. What do you guys think? I could organize the whole thing if it got some attention. If you like this idea or want to participate, reply saying so.
-
for i = 0, 100 do outputConsole('tostring(i)..'.jpg"/>') end This will output to console: From 1 to 100, you can increase the count by changing the number 100 in the script.
-
I once had such problem, I made a loop using Lua to output the whole meta to a file.
-
These might help: https://community.multitheftauto.com/index.php?p= ... ls&id=5078 https://community.multitheftauto.com/index.php?p= ... ils&id=528
-
https://wiki.multitheftauto.com/wiki/OnClientKey