Jump to content

tinnetju

Members
  • Posts

    68
  • Joined

  • Last visited

Details

  • Gang
    Green Homies

Recent Profile Visitors

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

tinnetju's Achievements

Snitch

Snitch (10/54)

5

Reputation

  1. Congratulations! MTA was a big part of my childhood (was active from 14-19 years old) and one of the main reasons I'm a software developer now. You guys have made programming so interesting and so much fun for me and many others around the globe. Thank you, and I am curious what the future will bring.
  2. Dont host here guys, i got ticketed for paying my bills too late, but their payment system was not working, just like almost their entire site now. goto http://www.busign.nl/ and click meer informatie (more information) and it has 404 lol
  3. You don't know what you're saying. A good scripter don't need much time to use the setElementData and other things. It's so easy. I don't think someone will donate or will choose you. If you're good scripter like you say, show your skills. Omg if only everyone is here to take me down jesus stupid ragers in here
  4. Dear GanJaRuleZ, Fuck you. You have no idea what my conditions are in scripting, and i have NEVER EVER said ONLY belgium or dutch, as there is written english is fine, and im not going to script in brazilian or something... Now go write somewhere else useless posts and go back in the dark corner where you were noob.
  5. Pm it to him... i was talking with you. Im not making a dm server dude
  6. Sorry, but what have you done so far? A small login GUI with setAccountData? I would accept a scripter to have problems with object orientated programming but MySQL is an obligatory skill for anybody who calls himself a "scripter". In addition to that PHP becomes more and more important in MTA, so do you have any PHP skills? Nevermind, good luck finding someone who is going to give you 15% of his donations. Thank you for reading the entire post before giving feedback. Not.
  7. viewtopic.php?f=91&t=41352&p=418901#p418901
  8. You didnt write it you copied it from the wiki, and what exactly do you want to be done?
  9. Hi im tinne, 15 years old and im from Holland. I can speak pretty good english and know lua scripting very well. I am willing to script for a server (i prefer RP, RPG or deathmatch) and im for free, untill there are donations. I want 15% of the donations, IF the server host is still affordable. The only downside is, i need some time for scripts and im having a hard time with gui's and server side stuff..., for example setElementData and setAccountData and stuff, and im in my exam year, that means i still have to go to school and need to make some homework now and then, but i have plenty of time in the weekends. I prefer a dutch or belgium server, but just english is fine, but im not going to script in or for any other language. I'm not a donkey.
  10. Heey guys, some people asked me how to script and i learned 2 people how to, but it was a pain in the ass... So i decided to make a little video how to make your first script. The video is horrible but the testing part at 00:30 is very useful. Just read this or the youtube description. https://www.youtube.com/watch?v=n-ctTNQ8lxk --Okay first of all, this is for all who wants to learn how to script. --I was too lazy to teach everyone individually how to script, so here are some basics. --First i want to make sure you understand the differences between client and server, --I know there are some mistakes in what i script and say sometimes, but i just learn you what i know. --First we are making a little script which gives the player 100 dollar as soon as he types a command --This could be done server and client side. --server sided lua function theServerSidedGimmeCommand (source) --use names like theMovableObject or theWalkingPed to make and keep your script as easy readable as possible givePlayerMoney ( source, 100 ) --give's the source player (the player who executes the function, can be done with various events, commands and binds) 100 dollar when he executes the function end addCommandHandler ( "serversidegivecash", theServerSidedGimmeCommand ) --adding the command which executes the function, everything in the function will run as soon as he types serversidegivecash --client sided lua function theClientSidedGimmeCommand () --use different names for EVERY function, so you and the script won't get confused, also for every, example: myPed = createped use different names like myPed1 and myPed2 givePlayerMoney ( 100 ) --in client side scripts the player who executes the function is always the source player, so no need for the source argument here end addCommandHandler ( "clientsidegivecash", theClientSidedGimmeCommand ) fileDelete("script_name.lua") --use this to maximum protect your scripts, only add this at the very last line of your script. As soon as a player joins he downloads the scripts --but will be deleted right away. The only downside of this trick is that the player needs to download this client lua everytime he join the server. --This is what the meta.xml file looks like "Tinne_Spoel" name="Example script" version="1.0" type="script"/> --just the name, version, author and type of the script --Things to remember: --Never use spaces or things like $*(%&@ in your script names, files or folders. Some of them will give errors. --Server events or functions cant be used in client lua's and vice versa. You do have some events and functions which are both client and server sided. --ALWAYS backup every 10 savings or test from your script, it happens you lose your script, delete, rewrite whatever. Just do --Now put the server sided function in the server lua, the client sided function in the client lua and the meta stuff in the meta.xml --Links: Notepad++: http://www.notepad-plus-plus.org/download/v5.9.8.html The entire tutorial: http://pastebin.com/m1Bj5v3a MTA SA: http://www.mtasa.com/ Good luck with your own scripts!
×
×
  • Create New...