Jump to content

cash saving help pls


Recommended Posts

Pls help me i cant make this script making to save cash.

addCommandHandler ( "cash",
function ( player, command, dude )
if dude then
local temp = getPlayerFromName(dude)
if temp then
outputChatBox("The player "..dude.." has $"..tostring(getPlayerMoney(temp)),player,0,255,0)
else
outputChatBox("Player "..dude.." not found",player,0,255,0)
end
else
outputChatBox("The player "..getPlayerName(player).." has $"..tostring(getPlayerMoney(player)), getRootElement(),0,255,0)
end
end
)

Do anyone can help me?Pls

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...