Hi, just wanted a quick fix from someone because I'm still learning LUA. I want players who complete a task to win GBUX money. Here's my (noob ass) code:
function(ply)
RunConsoleCommand( "gbux_addmoney " ..ply:Nick().. " 10000")
PrintMessage( HUD_PRINTTALK, ply:Nick().. " has joined the steam group and received $10,000! " )
end
As you can see I'm still learning don't judge >.>
What kind of task? Is there an issue? I'm not sure how to help you with the given information.. lol
[QUOTE=crazyscouter;45601630]What kind of task? Is there an issue? I'm not sure how to help you with the given information.. lol[/QUOTE]
No issue just the code isn't working lol Are there corrections for my code that you can see?
I looked it up and is this correct?
RunConsoleCommand( "gbux_addmoney", "" .. ply:Nick() .. "", "10000")