Jump to content

dashe123

Members
  • Posts

    22
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by dashe123

  1. This script gets a person to a certain team. But when the person logs out and logs in again he isn't in that team anymore. Help? local lalis = getAccountData(getPlayerAccount(source),"team") local team = getTeamFromName (tostring(lalis)) setPlayerTeam (source, "team")
  2. dashe123

    Mysql

    I think I have a similar question. What should I do so all the servers data like characters, money locations saves into MySQL database?
  3. All rights reserved © 2011 dashe123 If u want to use this idea in your server u have to pay me 5$. lol joke.
  4. My friend told me about XAMPP. Maybe it's a better way to make database but when I tried it I didn't understand where can I edit tables, password,database name, etc.
  5. Can anyone tell me more about MTA MySQL? Do I have to download MySQL installer or MTA already has some kind of database? How do I add tables and edit them? How do I edit MySQL password, user, database name, etc?
  6. I'm sorry if you feel disgusted or smth. lol
  7. Can someone explain whats happening and how to fix that? BTW I'm new at making MTA server. I know there's something wrong with database but I can't figure out how to make it or edit it. I already tried https://wiki.multitheftauto.com/wiki/Mysql [2011-07-30 00:34:56] ERROR: Unable to connect to mysql: (2003) Can't connect to MySQL server on 'localhost' (10061) [2011-07-30 00:34:56] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2011-07-30 00:34:56] Server shutdown as requested by resource sql (MySQL failed to connect.) [2011-07-30 00:34:56] Start up of resource sql cancelled by script [2011-07-30 00:34:56] ERROR: Unable to start resource sql; Start up of resource cancelled by script [2011-07-30 00:34:56] Start up of resource irc cancelled by script [2011-07-30 00:34:56] ERROR: Unable to start resource irc; Start up of resource cancelled by script [2011-07-30 00:34:57] ERROR: Unable to connect to mysql: (2003) Can't connect to MySQL server on 'localhost' (10061) [2011-07-30 00:34:57] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2011-07-30 00:34:57] Server shutdown as requested by resource sql (MySQL failed to connect.) [2011-07-30 00:34:57] Start up of resource sql cancelled by script [2011-07-30 00:34:57] ERROR: call: Failed, the resource sql isn't running [string "?"] [2011-07-30 00:34:57] Start up of resource players cancelled by script [2011-07-30 00:34:57] ERROR: Unable to start resource players; Start up of resource cancelled by script [2011-07-30 00:34:58] ERROR: Unable to connect to mysql: (2003) Can't connect to MySQL server on 'localhost' (10061) [2011-07-30 00:34:58] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2011-07-30 00:34:58] Server shutdown as requested by resource sql (MySQL failed to connect.) [2011-07-30 00:34:58] Start up of resource sql cancelled by script [2011-07-30 00:34:58] ERROR: call: Failed, the resource sql isn't running [string "?"] [2011-07-30 00:34:58] ERROR: call: Failed, the resource sql isn't running [string "?"] [2011-07-30 00:34:58] Start up of resource vehicles cancelled by script [2011-07-30 00:34:58] ERROR: Unable to start resource vehicles; Start up of resource cancelled by script
  8. Greets. I want to learn LUA language by myself but I can't understand a thing. I read MTA Wiki a lot but all I can do is write a simple script using an example. I want to learn make scripts without any help or examples. How do I start scripting without anyone helping? Tips? HELP!?!??
  9. How do I make a pissing stream coming out of players di**? Cuz now he's just standing and holding his balls.
  10. Hey guys. I need some help. I want to make a script which makes the player want to pee every hour and if he doesn't pee in 30 minutes his health starts to decrease every minute until he dies or pees to reload the peeing timer. To pee the player should type a command /pee (start peeing animation). After peeing the "time to pee" is reloaded to zero and the player is free from peeing for one hour and so on. Can anyone help me make a script or give me the right functions or tips? Hope u understand what I want. PS. sorry for a disturbing and yellow topic.
  11. Greetings. Internet is full of "kill and get exp" scripts but how do I make a script which gives exp for a player every minute for just running and driving?
  12. dashe123

    Team skin

    function given up dosnt work as it should...
  13. dashe123

    Team skin

    I don't get it. For some reason I get " bad arguments @ 'getelementmodel' " in the console.
  14. dashe123

    Team skin

    yeah but what should I do so when I leave the team my skin changes from teams' skin to my main skin/the skin I had before joining the team?
  15. dashe123

    Team skin

    Greetings people! I have a question for you. How do I set a teams' skin? For example I have my main skin which I chosen using simple skin selector when I registered and when I join a police team my skin changes into a cops skin. If I leave the team my skin changes to the main skin I had before. So how do I make a script like this?
  16. Greetings people. My scripter can't figure out how to make a script which should work like this: A player enters a car (574) and after driving it for a minute he gets some dollars and it keeps happening every minute until he exits the vehicle. IDK why but the scripter says that the script has to be with some kind of GUI so the script activates fuction which gives money every minute...??? WHAATT?? Please help. Give me the right functions he should use, script or just help him get on the right track.
  17. dashe123

    Skin change

    What function or script do I use if I want to make something like this: If you step on a marker it changes your skin from skin A to skin B and when you step on it again it changes your skin from skin B to skin A? P.S. I already made a "from skin A to skin B" script but how do I make it "from skin B to skin A" (to get your default skin back)?
  18. dashe123

    Jobs?

    Hello. In SA:MP Real Life servers there are jobs which you can choose depending on your amount of experience (XP). Is it possible to script something like that in MTA? Or maybe there is a script which you can download?
  19. dashe123

    Black screen

    Hey. I don't really have much time so I'll make it quick. When I store a custom gamemode into my server\mods\deathmatch\resources directory and load it using console I log into my server and I almost always get a black screen. How do I fix that? P.S. I'm a begginer so don't be mad at me for dumb questions. lol
  20. Thank you for answering my question. Peace.
  21. Hello. Me and my friend decided to make a MTA server and we got a question for you. We installed a registration/login script into the server but when we try to register or login we get an error. After a while we made a conclusion that our server doesn't have a database where all the accounts should be stored. How do we make that database and force the server to store all the accounts into it? Sorry for my poor english dictionary.
×
×
  • Create New...