Public feed #530316

Something

public text v1 · immutable
Raw Edit
·published 2007-06-02 02:38 UTC
rendered paste body
function GiveMoney( ply, amt )
	print( amt )
	amt = tonumber( amt )
	print( amt )
	if ply:GetNetworkedInt( "money" ) > amt then
		DoTrace(ply)
			UpdateMoney( ply, amt )
			UpdateMoney( ent, amt )
			Notify( ent, 2, 4, ply:Nick() .. " has sent you " .. amt .. "$ !" );
	end
end
AddChatCommand( "/give", GiveMoney )