• Money Script/System
    34 replies, posted
  • Avatar of Noodle man
  • A few tips to begin 1. Change your avatar from a dogs ass 2. Ask nicely 3. Say please 4. Give more detail So to start: (This will be hard with no info) Lear lua basics at [url]http://wiki.garrysmod.com/?title=Lua[/url] You could even buy a coder if you wanted And tell us what do you want do you want it for sandbox, rp or what? What should money be used for, a menu to buy cars, guns, drugs or tools? Give us that info and we will help
  • Avatar of Handsome Matt
  • Noodleman how is he a troll? I remember when you came in and said: "MAEK ME A xPERiCANCE ScRIPT" and we helped you and you kept saying "WROnG I duNT KNOW HOw TO UsE it!!!!11one!1". So shut the fuck up ok? Eddie. For a start you would need basic knowledge on where to put all the files if they were server side or clientside. Heres a quick one I did using SQL. SHARED SCRIPT [lua] local META = FindMetaTable("Player") if (SERVER) then function META:SetMoney(ammount) self:SetNWInt("money", ammount) end function META:Save() self:SetPData("money", self:GetMoney()) end function META:Load() self:SetNWInt("money", self:GetPData("money")) end end function META:GetMoney() return self:GetNWInt("money") end [/lua] Should be pretty basic to understand. [highlight](User was banned for this post (""Shut the fuck up ok?"" - mahalis))[/highlight]
  • Avatar of nivek
  • [QUOTE=Noodle man;16801826]Troll, but i willl do my best A few tips to begin 1. Change your avatar from a dogs ass 2. Ask nicely 3. Say please 4. Give more detail So to start: (This will be hard with no info) Lear lua basics at [url]http://wiki.garrysmod.com/?title=Lua[/url] You could even buy a coder if you wanted And tell us what do you want do you want it for sandbox, rp or what? What should money be used for, a menu to buy cars, guns, drugs or tools? Give us that info and we will help[/QUOTE] Don't pretend like you know what you're doing...
  • Avatar of Roleplay World
  • [QUOTE=Deraj;16809167]it's funny how noodleman talks like he represents facepunch.[/QUOTE] Quoted for truth, Noddle Man is a Fucking tool he called me a fag in steam because I insulted his "Pro office rp111!!!!!!!!!!!!!111" [highlight](User was banned for this post ("Flaming" - mahalis))[/highlight]
  • Avatar of braxus
  • [QUOTE=Noodle man;16801826]Troll, but i willl do my best A few tips to begin 1. Change your avatar from a dogs ass 2. Ask nicely 3. Say please 4. Give more detail So to start: (This will be hard with no info) Lear lua basics at [url]http://wiki.garrysmod.com/?title=Lua[/url] You could even buy a coder if you wanted And tell us what do you want do you want it for sandbox, rp or what? What should money be used for, a menu to buy cars, guns, drugs or tools? Give us that info and we will help[/QUOTE] everything you have ever posted is extremely fucking dumb and you pretend you know shit about lua but you've made several requests and you're not fucking trolling at all you dumb prepubescent Fuck. You're worse than that faggot child "fps_THEPWNER". You have more than 8,000 'dumb' ratings. [highlight](User was banned for this post ("Flaming" - mahalis))[/highlight]
  • [QUOTE=iRzilla;16801972]Noodleman how is he a troll? I remember when you came in and said: "MAEK ME A xPERiCANCE ScRIPT" and we helped you and you kept saying "WROnG I duNT KNOW HOw TO UsE it!!!!11one!1". So shut the fuck up ok? Eddie. For a start you would need basic knowledge on where to put all the files if they were server side or clientside. Heres a quick one I did using SQL. SHARED SCRIPT [lua] local META = FindMetaTable("Player") if (SERVER) then function META:SetMoney(ammount) self:SetNWInt("money", ammount) end function META:Save() self:SetPData("money", self:GetMoney()) end function META:Load() self:SetNWInt("money", self:GetPData("money")) end end function META:GetMoney() return self:GetNWInt("money") end [/lua] Should be pretty basic to understand.[/QUOTE] Ok. Thanks for this tip. I have learned everything from wiki for lua scripting. I'll see that script what you gave me and I'll try to learn as much as I can from that script. If I will need more help I will write in this thread.
  • Avatar of Noodle man
  • [QUOTE=Roleplay World;16809628]Quoted for truth, Noddle Man is a Fucking tool he called me a fag in steam because I insulted his "Pro office rp111!!!!!!!!!!!!!111"[/QUOTE] What, who are you on steam?
  • Avatar of Looter
  • rofl, Entire thread got devoted to pointing out Noodleman's fail. But yea, GModRP already has a money system :( )
  • [QUOTE=Jamie932;16817329]GModRP already has a money system?[/QUOTE] Yes, it has. But it has some bugs and I want to replace that old money system with a new one.
  • Avatar of Noodle man
  • Wouldnt it just be easier to fix the bugs? :confused::confused:. Im ready to be moaned at for the above so i will triple grammar check, so theres one less thing to be monaed at about.
  • Avatar of Jamie932
  • What bugs? It works fine for me... [editline]hai[/editline] And Noodle... [QUOTE=Noodle man;16818105]Wouldnt it just be easier to fix the bugs? :confused::confused:. Im ready to be moaned at for the above so i will triple grammar check, so theres one less thing to be [b]monaed[/b] at about.[/QUOTE]
  • Avatar of Noodle man
  • I use firefox, but the spell checker i have is one where you have to a word to the dictionary
  • Avatar of ninjerss
  • [QUOTE=Noodle man;16818426]I use firefox, but the spell checker i have is one where you have to a word to the dictionary[/QUOTE] how do you survive from day to day
  • Avatar of Noodle man
  • "Garrysmod.com doesn't deserve me." This should be to mm3guy, he fills up garrysmod.com with simple flatgrass edits ffs!
  • Avatar of Jamie932
  • [QUOTE=Noodle man;16818455]"Garrysmod.com doesn't deserve me." This should be to mm3guy, he fills up garrysmod.com with simple flatgrass edits ffs![/QUOTE] If they are so "Simple", You make a flatgrass edit and submit it to Garrysmod.com.
  • [QUOTE=Jamie932;16818128]What bugs? It works fine for me... [editline]hai[/editline] And Noodle...[/QUOTE] I have bug at that script that when I use command /drop it doesn't take away exactly amount as I wrote in command.
  • Avatar of Jamie932
  • [QUOTE=eddie1461;16818637]I have bug at that script that when I use command /drop it doesn't take away exactly amount as I wrote in command.[/QUOTE] Possibly because that hasnt been coded in? Oh, Beg my pardon, Didnt know it had been coded in.
  • Avatar of Roleplay World
  • Screw off Noodle man you just pk owners alt your a fat faggot no one likes. [highlight](User was banned for this post ("Flaming" - mahalis))[/highlight]
  • Avatar of RidingKeys
  • [QUOTE=Horsey;16820223]Wow, isn't a moderator going to deal with the flame posts above me?[/QUOTE] Horsey from TnB! It couldn't be!!! BUT IT IS!