Jump to content

getPlayerMoney(thePlayer) times by 100 for no reason


micheal1230

Recommended Posts

Well i made a script and if i have 10000 dollars its says i have 100000. No errors

function showMoney(thePlayer, commandName) 
    if getData(thePlayer, "loggedin") == 1 then 
    outputChatBox("You have ".. getPlayerMoney(thePlayer) .." dollars in your wallet." , thePlayer, 212, 156, 49) 
    end 
end 
addCommandHandler("money", showMoney) 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...