EDITED
i need a script that does thw following
/cash (shows youre cash)
/cash player (shows other players cash)
i also want whn i type /cash, the you have ...$ will be announced public in the chatbox
this is what i got
addCommandHandler ( "cash",
function ( player, command )
local money = getPlayerMoney ( player ) --Grab the player's money
outputChatBox ( "You have $"..money, player, 0, 255, 0 )
end
)