Deepu Posted February 22, 2014 Share Posted February 22, 2014 I just need help with getElementData() its worth a try so I thought I would be making drugs thing for my server can you give me the codes of the drugs thing? the function needs the foll: when a player hits a marker he gets 5 weed and 5 heroin when he has 0 drugs but when a player already has drugs like 5 weed or 6 heroin then it becomes 5+1 or 5+2 or ......... 5+n if a player uses heroin then it says "heroin 5" if he uses again it comes "heroin 4" how can I make that? PS: this is not for commercial or server purposes its so that I can learn it cuz I got many other these things to make so please coordinate with me and help me learn the codes PS: If you are free please explain the codes and help and explain the getElementData() usage please................ Link to comment
Karuzo Posted February 22, 2014 Share Posted February 22, 2014 We're not going to make it for you , buddy. Search for a drug-system on the community site, i'm sure there are a few scripts. If you have a code where you don't find the error , show it to us, but as i said, we're not going to make it for you. So it doesn't get Offtopic: I would make it with XML , cause you can just read out how much drugs he has and so on. btw: can't you make normal titles? Link to comment
Deepu Posted February 22, 2014 Author Share Posted February 22, 2014 how do I use it with xml? Please teach Link to comment
Bonsai Posted February 22, 2014 Share Posted February 22, 2014 And you seriously put some progress in your signature? According to your questions this progress wasn't made by you.. Everything you need to know about getElementData() is written down here: https://wiki.multitheftauto.com/wiki/GetElementData Link to comment
Deepu Posted February 22, 2014 Author Share Posted February 22, 2014 man... I made a phone, an awesome bomber script, all cute jobs, the3Dmarkers(like in CIT), 3D texts in mta world, fun scripts like roller coaster and shit like that ..... Many more I am new to getElementData I am not understanding alright? I can make anything else but not getElementData cuz i am learning it Link to comment
Deepu Posted February 22, 2014 Author Share Posted February 22, 2014 ADMIN PLEASE LOCK THIS GOD FORSAKEN TOPIC PLEASE PEOPLE ARE SARCASING ME TOPIC: LOCKED (REASON: I AM GONNA LEARN BY MYSELF) Link to comment
Recommended Posts