Alright, so I recently began to convert my NWInt database to a MySql database. How would I go about creating a function like the following.
Anytime I try to create a function like the following it always returns with a Boolean value of “False”, I’m not sure why it is doing this because my table does in fact contain the table value “Money”, when I attempt to get “Money” normally without going through the function it returns the correct value.
** Function:** Called by another function to try and receive the data.
if(arg == nil) then return false else
return sql.Query(“SELECT arg from TTCRP_PlyData WHERE SID = '”…SteamID…"’")
Usage: MooTest “Money”
if(GetSV(ply,arg) < 50) then print(“Fail”) return else
Also, I apologize if the information in this topic is vague, if so needed just go ahead and ask for a more thorough description.